Completed
Push — develop ( 21c609...db7143 )
by Vladimir
04:02
created
src/Objects/ApiObject.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
         if ($this->arrayConstructionOnly && !is_array($idOrArray))
126 126
         {
127
-            throw new \InvalidArgumentException("A $staticClass cannot be fetched from an ID.");
127
+            throw new \InvalidArgumentException("a $staticClass cannot be fetched from an ID.");
128 128
         }
129 129
 
130 130
         $this->initializeValues();
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
      */
469 469
     final protected static function sendDelete ($url, $getParams = array())
470 470
     {
471
-        return self::sendRequest("DELETE", $url, NULL, $getParams);
471
+        return self::sendRequest("DELETE", $url, null, $getParams);
472 472
     }
473 473
 
474 474
     /**
@@ -519,7 +519,7 @@  discard block
 block discarded – undo
519 519
      *
520 520
      * @return string The base URL to call
521 521
      */
522
-    final protected static function apiEndpoint ($apiPrefix = NULL)
522
+    final protected static function apiEndpoint ($apiPrefix = null)
523 523
     {
524 524
         $apiSection = isset($apiPrefix) ? $apiPrefix : static::API_PREFIX;
525 525
 
Please login to merge, or discard this patch.