diff --git a/src/Kunstmaan/AdminBundle/Form/UserType.php b/src/Kunstmaan/AdminBundle/Form/UserType.php index f09084e7cd..b765543f39 100644 --- a/src/Kunstmaan/AdminBundle/Form/UserType.php +++ b/src/Kunstmaan/AdminBundle/Form/UserType.php @@ -5,8 +5,8 @@ use Doctrine\Common\Collections\Collection; use Doctrine\ORM\EntityRepository; use Doctrine\ORM\QueryBuilder; -use Kunstmaan\AdminBundle\Entity\GroupInterface; use Kunstmaan\AdminBundle\Entity\Group; +use Kunstmaan\AdminBundle\Entity\GroupInterface; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CheckboxType; diff --git a/src/Kunstmaan/FormBundle/Entity/FormSubmissionFieldTypes/FileFormSubmissionField.php b/src/Kunstmaan/FormBundle/Entity/FormSubmissionFieldTypes/FileFormSubmissionField.php index d4ec8d50cf..2cf8cbb0e6 100644 --- a/src/Kunstmaan/FormBundle/Entity/FormSubmissionFieldTypes/FileFormSubmissionField.php +++ b/src/Kunstmaan/FormBundle/Entity/FormSubmissionFieldTypes/FileFormSubmissionField.php @@ -87,7 +87,7 @@ public function isNull() /** * Move the file to the given uploadDir and save the filename */ - public function upload($uploadDir, $webDir, Filesystem $fileSystem = null) + public function upload($uploadDir, $webDir, ?Filesystem $fileSystem = null) { // the file property can be empty if the field is not required if (null === $this->file) { diff --git a/src/Kunstmaan/NodeBundle/AdminList/NodeAdminListConfigurator.php b/src/Kunstmaan/NodeBundle/AdminList/NodeAdminListConfigurator.php index 8667b4d6ae..663d787557 100644 --- a/src/Kunstmaan/NodeBundle/AdminList/NodeAdminListConfigurator.php +++ b/src/Kunstmaan/NodeBundle/AdminList/NodeAdminListConfigurator.php @@ -13,7 +13,6 @@ use Kunstmaan\AdminListBundle\AdminList\FilterType\ORM\BooleanFilterType; use Kunstmaan\AdminListBundle\AdminList\FilterType\ORM\DateFilterType; use Kunstmaan\AdminListBundle\AdminList\FilterType\ORM\StringFilterType; -use Kunstmaan\AdminListBundle\AdminList\ItemAction\SimpleItemAction; use Kunstmaan\AdminListBundle\AdminList\ListAction\SimpleListAction; use Kunstmaan\NodeBundle\Entity\Node; use Kunstmaan\NodeBundle\Entity\NodeTranslation;