From 4669415fa2f21a061e6d24149b383def7a357d28 Mon Sep 17 00:00:00 2001 From: Everton Rosario Date: Tue, 27 Feb 2018 15:47:14 -0500 Subject: [PATCH] Bump version to 1.9.0 --- src/Facebook/InstantArticles/Elements/InstantArticle.php | 2 +- .../InstantArticles/Transformer/Settings/AdSettings.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Facebook/InstantArticles/Elements/InstantArticle.php b/src/Facebook/InstantArticles/Elements/InstantArticle.php index 0a0ba062..2df45a16 100644 --- a/src/Facebook/InstantArticles/Elements/InstantArticle.php +++ b/src/Facebook/InstantArticles/Elements/InstantArticle.php @@ -34,7 +34,7 @@ class InstantArticle extends Element implements ChildrenContainer, InstantArticleInterface { - const CURRENT_VERSION = '1.8.4'; + const CURRENT_VERSION = '1.9.0'; /** * The meta properties that are used on diff --git a/src/Facebook/InstantArticles/Transformer/Settings/AdSettings.php b/src/Facebook/InstantArticles/Transformer/Settings/AdSettings.php index 92532c56..6619c945 100644 --- a/src/Facebook/InstantArticles/Transformer/Settings/AdSettings.php +++ b/src/Facebook/InstantArticles/Transformer/Settings/AdSettings.php @@ -57,7 +57,6 @@ public function getAdElement() if (!Type::isTextEmpty($this->getAudienceNetworkPlacementId()) || (!Type::isTextEmpty($this->getRawHTML()))) { - $ad = Ad::create(); if (!Type::isTextEmpty($this->getAudienceNetworkPlacementId())) { $ad->withSource(