@@ -124,7 +124,7 @@ discard block |
||
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 |
||
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 |
||
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 |