Fixed PHPstan issues.

This commit is contained in:
Jan Böhmer 2020-04-02 14:15:54 +02:00
parent 56100fb64b
commit 0e57c0a6d5
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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 FormBuilder $builder
* @param string $option
* @param $value
* @param mixed $value
* @throws \ReflectionException
*/
public function setOption(FormBuilder $builder, string $option, $value): void