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 ] ) ) { |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | /** |
131 | 131 | * Retrieves the value of a private/protected property of a class. |
132 | 132 | * |
133 | - * @param object $object Instantiated object that we will run method on. |
|
133 | + * @param \PHP_Typography\Fixes\Token_Fix $object Instantiated object that we will run method on. |
|
134 | 134 | * @param string $property_name Property to set. |
135 | 135 | * |
136 | 136 | * @return mixed |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | * @param string $value The string to tokenize. |
150 | 150 | * @param string $type Optional. Default 'word'. |
151 | 151 | * |
152 | - * @return array |
|
152 | + * @return \PHP_Typography\Text_Parser\Token[] |
|
153 | 153 | */ |
154 | 154 | protected function tokenize( $value, $type = \PHP_Typography\Text_Parser\Token::WORD ) { |
155 | 155 | return [ |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | * not differ from the expected value. |
218 | 218 | * |
219 | 219 | * @param string|array $expected_value Either a word/sentence or a token array. |
220 | - * @param array $actual_tokens A token array. |
|
220 | + * @param \PHP_Typography\Text_Parser\Token[] $actual_tokens A token array. |
|
221 | 221 | * @param string $message Optional. Default ''. |
222 | 222 | */ |
223 | 223 | protected function assertTokensNotSame( $expected_value, array $actual_tokens, $message = '' ) { |