backports murph-skeleton
This commit is contained in:
parent
09abc84a60
commit
5a7ced3247
|
@ -13,10 +13,11 @@ namespace App\Core\Bundle;
|
|||
|
||||
use App\Core\DependencyInjection\CoreExtension;
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
|
||||
|
||||
class CoreBundle extends Bundle
|
||||
{
|
||||
public function getContainerExtension()
|
||||
public function getContainerExtension(): ?ExtensionInterface
|
||||
{
|
||||
return new CoreExtension();
|
||||
}
|
||||
|
|
|
@ -21,9 +21,6 @@ class FileUploadType extends AbstractType
|
|||
'required' => true,
|
||||
'multiple' => true,
|
||||
'attr' => [
|
||||
'webkitdirectory' => '',
|
||||
'directory' => '',
|
||||
'mozdirectory' => '',
|
||||
],
|
||||
'constraints' => [
|
||||
new All([
|
||||
|
|
Loading…
Reference in a new issue