update patch 1
This commit is contained in:
@@ -23,8 +23,6 @@ use Symfony\Component\Routing\RouteCollection;
|
||||
*/
|
||||
class StaticPrefixCollection
|
||||
{
|
||||
private string $prefix;
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
@@ -40,9 +38,9 @@ class StaticPrefixCollection
|
||||
*/
|
||||
private array $items = [];
|
||||
|
||||
public function __construct(string $prefix = '/')
|
||||
{
|
||||
$this->prefix = $prefix;
|
||||
public function __construct(
|
||||
private string $prefix = '/',
|
||||
) {
|
||||
}
|
||||
|
||||
public function getPrefix(): string
|
||||
|
||||
Reference in New Issue
Block a user