@@ -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 | /** |
@@ -398,7 +398,7 @@ discard block |
||
398 | 398 | * |
399 | 399 | * @return Pulse |
400 | 400 | */ |
401 | - public function createPulse ($name, $owner, $groupId = NULL, $updateText = NULL, $announceToAll = NULL) |
|
401 | + public function createPulse ($name, $owner, $groupId = null, $updateText = null, $announceToAll = null) |
|
402 | 402 | { |
403 | 403 | if ($owner instanceof PulseUser) |
404 | 404 | { |
@@ -445,7 +445,7 @@ discard block |
||
445 | 445 | $this->deletedObject = true; |
446 | 446 | } |
447 | 447 | |
448 | - public static function createBoard ($name, $userId, $description = NULL) |
|
448 | + public static function createBoard ($name, $userId, $description = null) |
|
449 | 449 | { |
450 | 450 | $url = sprintf("%s.json", self::apiEndpoint()); |
451 | 451 | $postParams = array( |