@@ -250,6 +250,9 @@ |
||
250 | 250 | } |
251 | 251 | } |
252 | 252 | |
253 | + /** |
|
254 | + * @param string $capability |
|
255 | + */ |
|
253 | 256 | protected function current_user_can( $capability, $plugin = null ) { |
254 | 257 | // If this endpoint accepts site based authentication and a blog token is used, skip capabilities check. |
255 | 258 | if ( $this->accepts_site_based_authentication() ) { |
@@ -253,7 +253,7 @@ |
||
253 | 253 | * |
254 | 254 | * The list includes an empty string, which is used when no icon should be displayed. |
255 | 255 | * |
256 | - * @return array The list of supported icons. |
|
256 | + * @return string[] The list of supported icons. |
|
257 | 257 | */ |
258 | 258 | public function get_supported_icons() { |
259 | 259 | return array( |