@@ -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 | { |
@@ -418,7 +418,6 @@ |
||
| 418 | 418 | * @param string $columnId The ID of the column to access. This is typically a slugified version of the column name |
| 419 | 419 | * |
| 420 | 420 | * @since 0.1.0 |
| 421 | - |
|
| 422 | 421 | * @throws ColumnNotFoundException The specified column ID does not exist for this Pulse |
| 423 | 422 | * @throws InvalidColumnException The specified column is not a "text" type column |
| 424 | 423 | * @throws InvalidObjectException The specified column exists but modification of its value is unsupported either |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | /** |
| 92 | 92 | * The note's id. |
| 93 | 93 | * |
| 94 | - * @return string |
|
| 94 | + * @return integer |
|
| 95 | 95 | */ |
| 96 | 96 | public function getId () |
| 97 | 97 | { |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * |
| 174 | 174 | * @param null|string $title The new title of the note |
| 175 | 175 | * @param null|string $content The new content of the note |
| 176 | - * @param null|int|PulseUser $userId The new author of the note |
|
| 176 | + * @param string $userId The new author of the note |
|
| 177 | 177 | * @param null|bool $createUpdate Whether to create an update or not |
| 178 | 178 | * |
| 179 | 179 | * @since 0.1.0 |
@@ -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 | * |