@@ -407,7 +407,7 @@ |
||
407 | 407 | * @since 0.1.0 |
408 | 408 | * @return PulseNote |
409 | 409 | */ |
410 | - public function addNote ($title, $content, $owners_only = false, $user_id = NULL, $create_update = false) |
|
410 | + public function addNote ($title, $content, $owners_only = false, $user_id = null, $create_update = false) |
|
411 | 411 | { |
412 | 412 | $url = sprintf($this->urlSyntax, parent::apiEndpoint(), $this->id, "notes"); |
413 | 413 | $postParams = array( |
@@ -15,7 +15,7 @@ |
||
15 | 15 | parent::__construct($array); |
16 | 16 | } |
17 | 17 | |
18 | - public function editNote ($title = NULL, $content = NULL, $user_id = NULL, $create_update = NULL) |
|
18 | + public function editNote ($title = null, $content = null, $user_id = null, $create_update = null) |
|
19 | 19 | { |
20 | 20 | $this->checkInvalid(); |
21 | 21 |
@@ -387,7 +387,7 @@ |
||
387 | 387 | * |
388 | 388 | * @return string The base URL to call |
389 | 389 | */ |
390 | - protected static function apiEndpoint ($apiPrefix = NULL) |
|
390 | + protected static function apiEndpoint ($apiPrefix = null) |
|
391 | 391 | { |
392 | 392 | $apiSection = isset($apiPrefix) ? $apiPrefix : static::API_PREFIX; |
393 | 393 |
@@ -398,7 +398,7 @@ |
||
398 | 398 | $this->deletedObject = true; |
399 | 399 | } |
400 | 400 | |
401 | - public static function createBoard ($name, $user_id, $description = NULL) |
|
401 | + public static function createBoard ($name, $user_id, $description = null) |
|
402 | 402 | { |
403 | 403 | $url = sprintf("%s.json", parent::apiEndpoint()); |
404 | 404 | $postParams = array( |