@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | * @param int|PulseUser $user_id The user that will be subscribed to the board |
| 220 | 220 | * @param bool|null $as_admin Set to true if the user will be an admin of the board |
| 221 | 221 | */ |
| 222 | - public function addSubscriber ($user_id, $as_admin = NULL) |
|
| 222 | + public function addSubscriber ($user_id, $as_admin = null) |
|
| 223 | 223 | { |
| 224 | 224 | if ($user_id instanceof PulseUser) |
| 225 | 225 | { |
@@ -448,7 +448,7 @@ discard block |
||
| 448 | 448 | $this->deletedObject = true; |
| 449 | 449 | } |
| 450 | 450 | |
| 451 | - public static function createBoard ($name, $user_id, $description = NULL) |
|
| 451 | + public static function createBoard ($name, $user_id, $description = null) |
|
| 452 | 452 | { |
| 453 | 453 | $url = sprintf("%s.json", parent::apiEndpoint()); |
| 454 | 454 | $postParams = array( |