mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-08 00:08:08 +01:00
Applied rector with PHP8.1 migration rules
This commit is contained in:
@@ -40,11 +40,8 @@ use Symfony\Component\Routing\Annotation\Route;
|
||||
#[Route(path: '/tree')]
|
||||
class TreeController extends AbstractController
|
||||
{
|
||||
protected TreeViewGenerator $treeGenerator;
|
||||
|
||||
public function __construct(TreeViewGenerator $treeGenerator)
|
||||
public function __construct(protected TreeViewGenerator $treeGenerator)
|
||||
{
|
||||
$this->treeGenerator = $treeGenerator;
|
||||
}
|
||||
|
||||
#[Route(path: '/tools', name: 'tree_tools')]
|
||||
|
||||
Reference in New Issue
Block a user