Completed
Push — master ( 5f50d9...cf27fb )
by Vladimir
02:07
created
src/PulseColumn.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@
 block discarded – undo
69 69
         $this->deletedObject = true;
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $field
74
+     */
72 75
     private function editField ($field, $value)
73 76
     {
74 77
         $this->checkInvalid();
Please login to merge, or discard this patch.
src/Utilities/UrlQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
      *
234 234
      * @throws \allejo\DaPulse\Exceptions\CurlException If cURL is misconfigured or encounters an error
235 235
      *
236
-     * @return mixed
236
+     * @return string
237 237
      */
238 238
     private function executeCurl ()
239 239
     {
Please login to merge, or discard this patch.
src/PulseNote.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      *
107 107
      * @since  0.1.0
108 108
      *
109
-     * @return string
109
+     * @return integer
110 110
      */
111 111
     public function getId ()
112 112
     {
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @param  null|string        $title        The new title of the note
214 214
      * @param  null|string        $content      The new content of the note
215
-     * @param  null|int|PulseUser $user         The new author of the note
215
+     * @param  string $user         The new author of the note
216 216
      * @param  null|bool          $createUpdate Whether to create an update or not
217 217
      *
218 218
      * @since  0.1.0
Please login to merge, or discard this patch.
src/PulseUpdate.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      *
136 136
      * @since  0.1.0
137 137
      *
138
-     * @return string
138
+     * @return integer
139 139
      */
140 140
     public function getId ()
141 141
     {
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
      *
324 324
      * @since  0.3.0 Previously was available as 'getHasAssets()'
325 325
      *
326
-     * @return bool
326
+     * @return string
327 327
      */
328 328
     public function hasAssets ()
329 329
     {
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
      * @api
478 478
      *
479 479
      * @param  int|PulseUser $user          The author of this post
480
-     * @param  int|Pulse     $pulse         The Pulse to whom this update will belong to
480
+     * @param  integer     $pulse         The Pulse to whom this update will belong to
481 481
      * @param  string        $text          The content of the update
482 482
      * @param  null|bool     $announceToAll Whether or not to announce this update to everyone's wall
483 483
      *
Please login to merge, or discard this patch.
docs/sami-config.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,8 @@
 block discarded – undo
32 32
  * Include this section if you want sami to document
33 33
  * private and protected functions/properties
34 34
  */
35
-$sami['filter'] = function () {
35
+$sami['filter'] = function ()
36
+{
36 37
     return new ApiFilter();
37 38
 };
38 39
 
Please login to merge, or discard this patch.
src/Objects/PulseColumnStatusValue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
      *
172 172
      * @since  0.3.1
173 173
      *
174
-     * @return array
174
+     * @return string[]
175 175
      */
176 176
     public static function getHexColors ()
177 177
     {
Please login to merge, or discard this patch.
src/Objects/SubscribableObject.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      *
71 71
      * @api
72 72
      *
73
-     * @param  int|PulseUser $userId  The user that will be subscribed to the board
73
+     * @param  integer $userId  The user that will be subscribed to the board
74 74
      * @param  bool|null     $asAdmin Set to true if the user will be an admin of the board
75 75
      *
76 76
      * @since  0.3.0 A PulseUser object of the newly added subscriber is returned
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      *
107 107
      * @api
108 108
      *
109
-     * @param  int|PulseUser $userId The user that will be unsubscribed from the board
109
+     * @param  integer $userId The user that will be unsubscribed from the board
110 110
      *
111 111
      * @since  0.3.0 A PulseUser object of the removed subscriber is returned
112 112
      * @since  0.1.0
Please login to merge, or discard this patch.
src/PulseBoard.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -396,7 +396,7 @@  discard block
 block discarded – undo
396 396
      * @api
397 397
      *
398 398
      * @param string        $name          The name of the Pulse
399
-     * @param PulseUser|int $user          The owner of the Pulse, i.e. who created it
399
+     * @param integer $user          The owner of the Pulse, i.e. who created it
400 400
      * @param string|null   $groupId       The group to add this Pulse to
401 401
      * @param string|null   $updateText    The update's text, can contain simple HTML for formatting
402 402
      * @param bool|null     $announceToAll Determines if the update should be sent to everyone's wall
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
      * @api
467 467
      *
468 468
      * @param  string        $name        The name of the board
469
-     * @param  int|PulseUser $user        The owner of the board
469
+     * @param  integer $user        The owner of the board
470 470
      * @param  string|null   $description A description of the board
471 471
      *
472 472
      * @since  0.3.0 $userId may be a PulseUser object and \InvalidArgumentException is now thrown
Please login to merge, or discard this patch.