mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-21 22:57:31 +01:00
Fixed PHPstan issues.
This commit is contained in:
@@ -62,7 +62,7 @@ use App\Services\Parameters\ParameterExtractor;
|
||||
use App\Services\PricedetailHelper;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Omines\DataTablesBundle\DataTableFactory;
|
||||
use Proxies\__CG__\App\Entity\Parts\Manufacturer;
|
||||
use App\Entity\Parts\Manufacturer;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\Form\FormInterface;
|
||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||
|
||||
@@ -101,9 +101,9 @@ class CollectionTypeExtension extends AbstractTypeExtension
|
||||
/**
|
||||
* Set the option of the form.
|
||||
* This a bit hacky cause we access private properties....
|
||||
* @param $builder
|
||||
* @param string $option
|
||||
* @param $value
|
||||
* @param FormBuilder $builder
|
||||
* @param string $option
|
||||
* @param mixed $value
|
||||
* @throws \ReflectionException
|
||||
*/
|
||||
public function setOption(FormBuilder $builder, string $option, $value): void
|
||||
|
||||
Reference in New Issue
Block a user