@@ -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 | { |
@@ -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 |
@@ -135,7 +135,7 @@ discard block |
||
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 |
||
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 |
||
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 | * |
@@ -171,7 +171,7 @@ |
||
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 | { |