@@ -582,7 +582,7 @@ discard block |
||
582 | 582 | * @since 0.1.0 |
583 | 583 | * @return PulseNote |
584 | 584 | */ |
585 | - public function addNote ($title, $content, $owners_only = false, $user_id = NULL, $create_update = false) |
|
585 | + public function addNote ($title, $content, $owners_only = false, $user_id = null, $create_update = false) |
|
586 | 586 | { |
587 | 587 | $url = sprintf($this->urlSyntax, parent::apiEndpoint(), $this->id, "notes"); |
588 | 588 | $postParams = array( |
@@ -648,7 +648,7 @@ discard block |
||
648 | 648 | * |
649 | 649 | * @since 0.1.0 |
650 | 650 | */ |
651 | - public function createUpdate ($user, $text, $announceToAll = NULL) |
|
651 | + public function createUpdate ($user, $text, $announceToAll = null) |
|
652 | 652 | { |
653 | 653 | PulseUpdate::createUpdate($user, $this->getId(), $text, $announceToAll); |
654 | 654 | } |
@@ -337,7 +337,7 @@ |
||
337 | 337 | * |
338 | 338 | * @return PulseUpdate |
339 | 339 | */ |
340 | - public static function createUpdate ($user, $pulse, $text, $announceToAll = NULL) |
|
340 | + public static function createUpdate ($user, $pulse, $text, $announceToAll = null) |
|
341 | 341 | { |
342 | 342 | if ($user instanceof PulseUser) |
343 | 343 | { |