We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -219,7 +219,7 @@ |
||
| 219 | 219 | * @param string $line A line from the TeX pattern file. |
| 220 | 220 | * @param array $patterns An array of patterns. |
| 221 | 221 | * |
| 222 | - * @return boolean |
|
| 222 | + * @return boolean|null |
|
| 223 | 223 | */ |
| 224 | 224 | function match_patterns( $line, array &$patterns ) { |
| 225 | 225 | if ( preg_match( '/^\s*([' . $this->word_characters . ']+)\s*}\s*(?:%.*)?$/u', $line, $matches ) ) { |
@@ -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 ] ) ) { |
@@ -147,7 +147,7 @@ |
||
| 147 | 147 | * @param string $style The quote style. |
| 148 | 148 | * @param Settings $settings The current settings. |
| 149 | 149 | * |
| 150 | - * @return Quotes|null Returns null in case of an invalid $style parameter. |
|
| 150 | + * @return Simple_Quotes|null Returns null in case of an invalid $style parameter. |
|
| 151 | 151 | */ |
| 152 | 152 | public static function get_styled_quotes( $style, Settings $settings ) { |
| 153 | 153 | if ( isset( self::$styles[ $style ] ) ) { |