Passed
Push — master ( 7c4e47...1ba277 )
by
unknown
02:58
created
src/Publisher.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
     public function getArticle(string $idArticle): string
155 155
     {
156 156
         return $this->get(
157
-            self::ARTICLE_CHECK_ENDPOINT . "/${idArticle}"
157
+            self::ARTICLE_CHECK_ENDPOINT . "/${idarticle}"
158 158
         );
159 159
     }
160 160
 
Please login to merge, or discard this patch.
src/Model/Article.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
         $headlineCategory = false
171 171
     ) {
172 172
         if (! in_array($typeId, [self::TYPE_PHOTO, self::TYPE_TEXT, self::TYPE_VIDEO], true)) {
173
-            throw new \InvalidArgumentException("Invalid typeId : ${typeId}, allowed typeId are " . implode(', ', $allowedType));
173
+            throw new \InvalidArgumentException("Invalid typeId : ${typeid}, allowed typeId are " . implode(', ', $allowedType));
174 174
         }
175 175
 
176 176
         $allowedCategory = [
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
         ];
220 220
 
221 221
         if (! in_array($categoryId, $allowedCategory, true)) {
222
-            throw new \InvalidArgumentException("Invalid categoryId : ${categoryId}, allowed category are " . implode(', ', $allowedCategory));
222
+            throw new \InvalidArgumentException("Invalid categoryId : ${categoryid}, allowed category are " . implode(', ', $allowedCategory));
223 223
         }
224 224
 
225 225
         $this->collection = new Collection([
Please login to merge, or discard this patch.