Completed
Push — master ( eb0343...a75c5d )
by Vladimir
02:34
created
src/Pulse.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -407,7 +407,7 @@
 block discarded – undo
407 407
      * @since  0.1.0
408 408
      * @return PulseNote
409 409
      */
410
-    public function addNote ($title, $content, $owners_only = false, $user_id = NULL, $create_update = false)
410
+    public function addNote ($title, $content, $owners_only = false, $user_id = null, $create_update = false)
411 411
     {
412 412
         $url        = sprintf($this->urlSyntax, parent::apiEndpoint(), $this->id, "notes");
413 413
         $postParams = array(
Please login to merge, or discard this patch.
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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(
Please login to merge, or discard this patch.