@@ -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()); |