Completed
Push — master ( 39f807...391e9b )
by Vladimir
03:25
created
src/Objects/SubscribableObject.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      *
59 59
      * @since 0.1.0
60 60
      */
61
-    public function addSubscriber ($userId, $asAdmin = NULL)
61
+    public function addSubscriber ($userId, $asAdmin = null)
62 62
     {
63 63
         if ($userId instanceof PulseUser)
64 64
         {
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
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
      *
291 291
      * @return PulseGroup[]
292 292
      */
293
-    public function getGroups ($showArchived = NULL)
293
+    public function getGroups ($showArchived = null)
294 294
     {
295 295
         $url    = sprintf("%s/%d/groups.json", self::apiEndpoint(), $this->getId());
296 296
         $params = array();
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
         return $pulses;
363 363
     }
364 364
 
365
-    public function createPulse ($name, $owner, $groupId = NULL)
365
+    public function createPulse ($name, $owner, $groupId = null)
366 366
     {
367 367
         $url        = sprintf("%s/%d/pulses.json", self::apiEndpoint(), $this->getId());
368 368
         $postParams = array(
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
         $this->deletedObject = true;
403 403
     }
404 404
 
405
-    public static function createBoard ($name, $userId, $description = NULL)
405
+    public static function createBoard ($name, $userId, $description = null)
406 406
     {
407 407
         $url        = sprintf("%s.json", self::apiEndpoint());
408 408
         $postParams = array(
Please login to merge, or discard this patch.
src/Pulse.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
         $this->deletedObject = true;
255 255
     }
256 256
 
257
-    public function duplicatePulse ($groupId = NULL, $ownerId = NULL)
257
+    public function duplicatePulse ($groupId = null, $ownerId = null)
258 258
     {
259 259
         $url        = sprintf("%s/%s/pulses/%s/duplicate.json", self::apiEndpoint("boards"), $this->getBoardId(), $this->getId());
260 260
         $postParams = array();
@@ -498,7 +498,7 @@  discard block
 block discarded – undo
498 498
      * @since  0.1.0
499 499
      * @return PulseNote
500 500
      */
501
-    public function addNote ($title, $content, $ownersOnly = false, $userId = NULL, $createUpdate = false)
501
+    public function addNote ($title, $content, $ownersOnly = false, $userId = null, $createUpdate = false)
502 502
     {
503 503
         $url        = sprintf($this->urlSyntax, self::apiEndpoint(), $this->id, "notes");
504 504
         $postParams = array(
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
      *
565 565
      * @since 0.1.0
566 566
      */
567
-    public function createUpdate ($user, $text, $announceToAll = NULL)
567
+    public function createUpdate ($user, $text, $announceToAll = null)
568 568
     {
569 569
         PulseUpdate::createUpdate($user, $this->getId(), $text, $announceToAll);
570 570
     }
Please login to merge, or discard this patch.