Completed
Push — master ( 740659...28d7a6 )
by Vladimir
02:27
created
src/PulseNote.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         parent::__construct($array);
16 16
     }
17 17
 
18
-    public function editNote ($title = NULL, $content = NULL, $user_id = NULL, $create_update = NULL)
18
+    public function editNote ($title = null, $content = null, $user_id = null, $create_update = null)
19 19
     {
20 20
         $this->checkInvalid();
21 21
 
Please login to merge, or discard this patch.
src/Objects/ApiObject.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -454,7 +454,7 @@
 block discarded – undo
454 454
      *
455 455
      * @return string The base URL to call
456 456
      */
457
-    final protected static function apiEndpoint ($apiPrefix = NULL)
457
+    final protected static function apiEndpoint ($apiPrefix = null)
458 458
     {
459 459
         $apiSection = isset($apiPrefix) ? $apiPrefix : static::API_PREFIX;
460 460
 
Please login to merge, or discard this patch.
src/PulseBoard.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
      *
226 226
      * @since 0.1.0
227 227
      */
228
-    public function addSubscriber ($user_id, $as_admin = NULL)
228
+    public function addSubscriber ($user_id, $as_admin = null)
229 229
     {
230 230
         if ($user_id instanceof PulseUser)
231 231
         {
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
      *
360 360
      * @return PulseGroup[]
361 361
      */
362
-    public function getGroups ($show_archived = NULL)
362
+    public function getGroups ($show_archived = null)
363 363
     {
364 364
         $url = sprintf("%s/%d/groups.json", self::apiEndpoint(), $this->getId());
365 365
         $params = array();
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
         $this->deletedObject = true;
472 472
     }
473 473
 
474
-    public static function createBoard ($name, $user_id, $description = NULL)
474
+    public static function createBoard ($name, $user_id, $description = null)
475 475
     {
476 476
         $url        = sprintf("%s.json", self::apiEndpoint());
477 477
         $postParams = array(
Please login to merge, or discard this patch.
src/Pulse.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -582,7 +582,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/PulseUpdate.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -337,7 +337,7 @@
 block discarded – undo
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
         {
Please login to merge, or discard this patch.