reinstall dependencies on php 7.4

This commit is contained in:
Attila Jozsef Kerekes
2022-11-14 21:15:40 +01:00
parent 8972a11c0a
commit 98401f20a2
681 changed files with 65697 additions and 9274 deletions

View File

@@ -23,9 +23,9 @@ namespace Symfony\Component\CssSelector\Parser;
*/
class Reader
{
private string $source;
private int $length;
private int $position = 0;
private $source;
private $length;
private $position = 0;
public function __construct(string $source)
{
@@ -60,7 +60,10 @@ class Reader
return false === $position ? false : $position - $this->position;
}
public function findPattern(string $pattern): array|false
/**
* @return array|false
*/
public function findPattern(string $pattern)
{
$source = substr($this->source, $this->position);