@@ -36,7 +36,7 @@ |
||
36 | 36 | * @param string $endpoint API endpoint. |
37 | 37 | * @param array $body Request body. |
38 | 38 | * |
39 | - * @return stdClass|WP_Error |
|
39 | + * @return stdClass |
|
40 | 40 | */ |
41 | 41 | protected function call( $method, $endpoint, $body = array() ) { |
42 | 42 | if ( is_wp_error( $error = $this->can_call() ) ) { |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | * |
171 | 171 | * @param string $sha Post sha to check for. |
172 | 172 | * |
173 | - * @return Booelan |
|
173 | + * @return boolean |
|
174 | 174 | */ |
175 | 175 | public function sha_exists($sha){ |
176 | 176 | $sha_list = $this->get_sha_list(); |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | * @param string $sha Post sha to check for. |
185 | 185 | * @param string $path Patn to match the sha to. |
186 | 186 | * |
187 | - * @return Booelan |
|
187 | + * @return boolean |
|
188 | 188 | */ |
189 | 189 | public function sha_exists_with_path($sha, $path){ |
190 | 190 | $sha_list = $this->get_sha_list(); |
@@ -203,6 +203,7 @@ discard block |
||
203 | 203 | * Returns true if the path is not importable, hookable |
204 | 204 | * |
205 | 205 | * @param string |
206 | + * @param string $path |
|
206 | 207 | * @return boolean |
207 | 208 | */ |
208 | 209 | protected function is_excluded_path( $path ) { |
@@ -221,6 +222,7 @@ discard block |
||
221 | 222 | * Returns true if the mine type is not importable, hookable |
222 | 223 | * |
223 | 224 | * @param string |
225 | + * @param string $mime_type |
|
224 | 226 | * @return boolean |
225 | 227 | */ |
226 | 228 | protected function is_excluded_mime_type( $mime_type ) { |
@@ -235,6 +237,7 @@ discard block |
||
235 | 237 | * Returns true if the file extension is not importable, hookable |
236 | 238 | * |
237 | 239 | * @param string |
240 | + * @param string $file_extension |
|
238 | 241 | * @return boolean |
239 | 242 | */ |
240 | 243 | protected function is_excluded_file_extension( $file_extension ) { |