@@ -69,6 +69,9 @@ |
||
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(); |
@@ -233,7 +233,7 @@ |
||
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 | { |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * |
123 | 123 | * @api |
124 | 124 | * @since 0.1.0 |
125 | - * @return string |
|
125 | + * @return integer |
|
126 | 126 | */ |
127 | 127 | public function getId () |
128 | 128 | { |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | * |
299 | 299 | * @since 0.3.0 Previously was available as 'getHasAssets()' |
300 | 300 | * |
301 | - * @return bool |
|
301 | + * @return string |
|
302 | 302 | */ |
303 | 303 | public function hasAssets () |
304 | 304 | { |
@@ -448,7 +448,7 @@ discard block |
||
448 | 448 | * @api |
449 | 449 | * |
450 | 450 | * @param int|PulseUser $user The author of this post |
451 | - * @param int|Pulse $pulse The Pulse to whom this update will belong to |
|
451 | + * @param integer $pulse The Pulse to whom this update will belong to |
|
452 | 452 | * @param string $text The content of the update |
453 | 453 | * @param null|bool $announceToAll Whether or not to announce this update to everyone's wall |
454 | 454 | * |
@@ -106,7 +106,7 @@ discard block |
||
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 |
||
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 |