We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -110,7 +110,7 @@ |
||
110 | 110 | * @param string $style The dash style. |
111 | 111 | * @param Settings $settings The current settings. |
112 | 112 | * |
113 | - * @return Dashes|null Returns null in case of an invalid $style parameter. |
|
113 | + * @return Simple_Dashes|null Returns null in case of an invalid $style parameter. |
|
114 | 114 | */ |
115 | 115 | public static function get_styled_dashes( $style, Settings $settings ) { |
116 | 116 | if ( isset( self::$styles[ $style ] ) ) { |
@@ -271,7 +271,7 @@ |
||
271 | 271 | * to use the spl_object_hash for its keys. |
272 | 272 | * |
273 | 273 | * @param array $array1 The keys are ignored. |
274 | - * @param array $array2 This array has to be in the form ( $spl_object_hash => $object ). |
|
274 | + * @param \DOMNode[] $array2 This array has to be in the form ( $spl_object_hash => $object ). |
|
275 | 275 | * |
276 | 276 | * @return boolean |
277 | 277 | */ |
@@ -390,7 +390,7 @@ discard block |
||
390 | 390 | * Checks if the predecessor of the current token is of a certain type. |
391 | 391 | * |
392 | 392 | * @param int $type A valid token type (e.g. Token::WORD). |
393 | - * @param array $tokens An array of tokens. |
|
393 | + * @param Token[] $tokens An array of tokens. |
|
394 | 394 | * @param int $index The current token index. |
395 | 395 | * @param int $steps Optional. The number steps to go back for the check. Default 1. |
396 | 396 | * |
@@ -404,7 +404,7 @@ discard block |
||
404 | 404 | * Checks if the predecessor of the current token is not of a certain type. |
405 | 405 | * |
406 | 406 | * @param int $type A valid token type (e.g. Token::WORD). |
407 | - * @param array $tokens An array of tokens. |
|
407 | + * @param Token[] $tokens An array of tokens. |
|
408 | 408 | * @param int $index The current token index. |
409 | 409 | * @param int $steps Optional. The number steps to go back for the check. Default 1. |
410 | 410 | * |