mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-02 21:19:58 +09:00
update to laravel 5.7 and try getting autologin saved
This commit is contained in:
@@ -150,7 +150,7 @@ class Parser implements ParserInterface
|
||||
{
|
||||
$stream->skipWhitespace();
|
||||
|
||||
$selectorStart = count($stream->getUsed());
|
||||
$selectorStart = \count($stream->getUsed());
|
||||
$result = $this->parseElementNode($stream);
|
||||
$pseudoElement = null;
|
||||
|
||||
@@ -187,7 +187,7 @@ class Parser implements ParserInterface
|
||||
}
|
||||
|
||||
$identifier = $stream->getNextIdentifier();
|
||||
if (in_array(strtolower($identifier), array('first-line', 'first-letter', 'before', 'after'))) {
|
||||
if (\in_array(strtolower($identifier), array('first-line', 'first-letter', 'before', 'after'))) {
|
||||
// Special case: CSS 2.1 pseudo-elements can have a single ':'.
|
||||
// Any new pseudo-element must have two.
|
||||
$pseudoElement = $identifier;
|
||||
@@ -253,7 +253,7 @@ class Parser implements ParserInterface
|
||||
}
|
||||
}
|
||||
|
||||
if (count($stream->getUsed()) === $selectorStart) {
|
||||
if (\count($stream->getUsed()) === $selectorStart) {
|
||||
throw SyntaxErrorException::unexpectedToken('selector', $stream->getPeek());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user