mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-07 01:49:35 +00:00
Fixed some more phpstan issues
This commit is contained in:
parent
2f46fbfc7a
commit
e8771ea118
77 changed files with 192 additions and 109 deletions
|
|
@ -29,6 +29,9 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
|
|||
class RowClassColumn extends AbstractColumn
|
||||
{
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
public function configureOptions(OptionsResolver $resolver): self
|
||||
{
|
||||
parent::configureOptions($resolver);
|
||||
|
|
@ -44,7 +47,7 @@ class RowClassColumn extends AbstractColumn
|
|||
return $this;
|
||||
}
|
||||
|
||||
public function initialize(string $name, int $index, array $options, DataTable $dataTable)
|
||||
public function initialize(string $name, int $index, array $options, DataTable $dataTable): void
|
||||
{
|
||||
//The field name is always "$$rowClass" as this is the name the frontend controller expects
|
||||
parent::initialize('$$rowClass', $index, $options, $dataTable); // TODO: Change the autogenerated stub
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue