File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -241,10 +241,8 @@ private static function parseAtRule(ParserState $oParserState)
241241 *
242242 * @param string $sIdentifier
243243 * @param string $sMatch
244- *
245- * @return bool
246244 */
247- private static function identifierIs ($ sIdentifier , $ sMatch )
245+ private static function identifierIs ($ sIdentifier , $ sMatch ): bool
248246 {
249247 return (strcasecmp ($ sIdentifier , $ sMatch ) === 0 )
250248 ?: preg_match ("/^(- \\w+-)? $ sMatch$/i " , $ sIdentifier ) === 1 ;
Original file line number Diff line number Diff line change @@ -258,10 +258,8 @@ public function consumeWhiteSpace(): array
258258 /**
259259 * @param string $sString
260260 * @param bool $bCaseInsensitive
261- *
262- * @return bool
263261 */
264- public function comes ($ sString , $ bCaseInsensitive = false )
262+ public function comes ($ sString , $ bCaseInsensitive = false ): bool
265263 {
266264 $ sPeek = $ this ->peek (strlen ($ sString ));
267265 return ($ sPeek == '' )
You can’t perform that action at this time.
0 commit comments