From 2b05a2d73978065afc3436857a7404f4c0fc3405 Mon Sep 17 00:00:00 2001 From: Heine Vidme Date: Tue, 8 Nov 2022 15:47:44 +0100 Subject: [PATCH] Update OpenGraph.php --- src/SEOTools/OpenGraph.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/SEOTools/OpenGraph.php b/src/SEOTools/OpenGraph.php index 0875a31..08ed18e 100644 --- a/src/SEOTools/OpenGraph.php +++ b/src/SEOTools/OpenGraph.php @@ -782,6 +782,16 @@ public function setUrl($url) return $this; } + + /** + * {@inheritdoc} + */ + public function setImage($image) + { + $this->images = [$image]; + + return $this; + } /** * {@inheritdoc}