mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-21 14:47:24 +01:00
Applied rector with PHP8.1 migration rules
This commit is contained in:
@@ -26,11 +26,8 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
|
||||
class SIUnitNumberColumn extends AbstractColumn
|
||||
{
|
||||
protected SIFormatter $formatter;
|
||||
|
||||
public function __construct(SIFormatter $formatter)
|
||||
public function __construct(protected SIFormatter $formatter)
|
||||
{
|
||||
$this->formatter = $formatter;
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver): self
|
||||
|
||||
Reference in New Issue
Block a user