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)
241
241
*
242
242
* @param string $sIdentifier
243
243
* @param string $sMatch
244
- *
245
- * @return bool
246
244
*/
247
- private static function identifierIs ($ sIdentifier , $ sMatch )
245
+ private static function identifierIs ($ sIdentifier , $ sMatch ): bool
248
246
{
249
247
return (strcasecmp ($ sIdentifier , $ sMatch ) === 0 )
250
248
?: 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
258
258
/**
259
259
* @param string $sString
260
260
* @param bool $bCaseInsensitive
261
- *
262
- * @return bool
263
261
*/
264
- public function comes ($ sString , $ bCaseInsensitive = false )
262
+ public function comes ($ sString , $ bCaseInsensitive = false ): bool
265
263
{
266
264
$ sPeek = $ this ->peek (strlen ($ sString ));
267
265
return ($ sPeek == '' )
You can’t perform that action at this time.
0 commit comments