@@ -25,7 +25,7 @@ |
||
25 | 25 | if (static::isLegacy()) { |
26 | 26 | return FileType::class; |
27 | 27 | } |
28 | - else{ |
|
28 | + else { |
|
29 | 29 | return 'file'; |
30 | 30 | } |
31 | 31 | } |
@@ -24,8 +24,7 @@ |
||
24 | 24 | { |
25 | 25 | if (static::isLegacy()) { |
26 | 26 | return FileType::class; |
27 | - } |
|
28 | - else{ |
|
27 | + } else{ |
|
29 | 28 | return 'file'; |
30 | 29 | } |
31 | 30 | } |
@@ -25,7 +25,7 @@ |
||
25 | 25 | $this->root_path = $root_path; |
26 | 26 | $this->web_path = $web_path; |
27 | 27 | |
28 | - parent::__construct($root_path . $web_path); |
|
28 | + parent::__construct($root_path.$web_path); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -25,7 +25,7 @@ |
||
25 | 25 | if (isset($config['root_path']) && !empty($config['root_path'])) { |
26 | 26 | $root_path = rtrim($config['root_path'], '/'); |
27 | 27 | } else { |
28 | - $root_path = $container->getParameter('kernel.root_dir') .'/../web'; |
|
28 | + $root_path = $container->getParameter('kernel.root_dir').'/../web'; |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | $container->setParameter('fenrizbes_uploadable.root_path', $root_path); |