@@ -50,12 +50,12 @@ |
||
50 | 50 | |
51 | 51 | public function isArchived () |
52 | 52 | { |
53 | - return (bool)$this->archived; |
|
53 | + return (bool) $this->archived; |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | public function isDeleted () |
57 | 57 | { |
58 | - return (bool)$this->deleted; |
|
58 | + return (bool) $this->deleted; |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
@@ -402,7 +402,7 @@ discard block |
||
402 | 402 | * |
403 | 403 | * @return Pulse |
404 | 404 | */ |
405 | - public function createPulse ($name, $user, $groupId = NULL, $updateText = NULL, $announceToAll = NULL) |
|
405 | + public function createPulse ($name, $user, $groupId = null, $updateText = null, $announceToAll = null) |
|
406 | 406 | { |
407 | 407 | $user = PulseUser::_castToInt($user); |
408 | 408 | $url = sprintf("%s/%d/pulses.json", self::apiEndpoint(), $this->getId()); |
@@ -466,7 +466,7 @@ discard block |
||
466 | 466 | * |
467 | 467 | * @return PulseBoard |
468 | 468 | */ |
469 | - public static function createBoard ($name, $user, $description = NULL) |
|
469 | + public static function createBoard ($name, $user, $description = null) |
|
470 | 470 | { |
471 | 471 | $user = PulseUser::_castToInt($user); |
472 | 472 | $url = sprintf("%s.json", self::apiEndpoint()); |