@@ -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 | { |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | return (isset($this->apiToken)); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | - public function getApiToken() |
|
| 28 | + public function getApiToken () |
|
| 29 | 29 | { |
| 30 | 30 | return $this->apiToken; |
| 31 | 31 | } |
@@ -175,7 +175,7 @@ |
||
| 175 | 175 | * |
| 176 | 176 | * @param null|string $title The new title of the note |
| 177 | 177 | * @param null|string $content The new content of the note |
| 178 | - * @param null|int|PulseUser $userId The new author of the note |
|
| 178 | + * @param string $userId The new author of the note |
|
| 179 | 179 | * @param null|bool $createUpdate Whether to create an update or not |
| 180 | 180 | * |
| 181 | 181 | * @since 0.1.0 |