mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-22 23:27:31 +01:00
Applied rector with PHP8.1 migration rules
This commit is contained in:
@@ -30,11 +30,8 @@ use Symfony\Component\HttpKernel\Event\ResponseEvent;
|
||||
*/
|
||||
final class SymfonyDebugToolbarSubscriber implements EventSubscriberInterface
|
||||
{
|
||||
private bool $kernel_debug;
|
||||
|
||||
public function __construct(bool $kernel_debug)
|
||||
public function __construct(private readonly bool $kernel_debug)
|
||||
{
|
||||
$this->kernel_debug = $kernel_debug;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user