mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Fixed PHPstan issues.
This commit is contained in:
parent
56100fb64b
commit
0e57c0a6d5
2 changed files with 4 additions and 4 deletions
|
@ -62,7 +62,7 @@ use App\Services\Parameters\ParameterExtractor;
|
||||||
use App\Services\PricedetailHelper;
|
use App\Services\PricedetailHelper;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use Omines\DataTablesBundle\DataTableFactory;
|
use Omines\DataTablesBundle\DataTableFactory;
|
||||||
use Proxies\__CG__\App\Entity\Parts\Manufacturer;
|
use App\Entity\Parts\Manufacturer;
|
||||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
use Symfony\Component\Form\FormInterface;
|
use Symfony\Component\Form\FormInterface;
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
|
|
|
@ -101,9 +101,9 @@ class CollectionTypeExtension extends AbstractTypeExtension
|
||||||
/**
|
/**
|
||||||
* Set the option of the form.
|
* Set the option of the form.
|
||||||
* This a bit hacky cause we access private properties....
|
* This a bit hacky cause we access private properties....
|
||||||
* @param $builder
|
* @param FormBuilder $builder
|
||||||
* @param string $option
|
* @param string $option
|
||||||
* @param $value
|
* @param mixed $value
|
||||||
* @throws \ReflectionException
|
* @throws \ReflectionException
|
||||||
*/
|
*/
|
||||||
public function setOption(FormBuilder $builder, string $option, $value): void
|
public function setOption(FormBuilder $builder, string $option, $value): void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue