@@ -194,7 +194,7 @@ |
||
194 | 194 | $hooks = []; |
195 | 195 | |
196 | 196 | foreach ($fields as $fieldName) { |
197 | - $exporter->addHook(function ($fieldValue) { |
|
197 | + $exporter->addHook(function($fieldValue) { |
|
198 | 198 | // if field is an array |
199 | 199 | if (is_array($fieldValue)) { |
200 | 200 | $value = $this->recursiveImplode(', ', $fieldValue); |
@@ -40,7 +40,7 @@ |
||
40 | 40 | // general values |
41 | 41 | $this->controllerName = $adminConfiguration['controller']; |
42 | 42 | $this->entityName = $adminConfiguration['entity']; |
43 | - $this->formType = $adminConfiguration['form'];; |
|
43 | + $this->formType = $adminConfiguration['form']; ; |
|
44 | 44 | $this->maxPerPage = $adminConfiguration['max_per_page']; |
45 | 45 | $this->actions = $adminConfiguration['actions']; |
46 | 46 | $this->managerConfiguration = $adminConfiguration['manager']; |
@@ -136,7 +136,7 @@ |
||
136 | 136 | |
137 | 137 | public function getCountQueryBuilderCallback() |
138 | 138 | { |
139 | - $callback = function (QueryBuilder $queryBuilder) { |
|
139 | + $callback = function(QueryBuilder $queryBuilder) { |
|
140 | 140 | |
141 | 141 | }; |
142 | 142 | return $callback; |
@@ -3,7 +3,7 @@ |
||
3 | 3 | namespace BlueBear\AdminBundle\Event\Subscriber; |
4 | 4 | |
5 | 5 | use BlueBear\AdminBundle\Admin\AdminFactory; |
6 | -use BlueBear\BaseBundle\Behavior\ContainerTrait;; |
|
6 | +use BlueBear\BaseBundle\Behavior\ContainerTrait; ; |
|
7 | 7 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
8 | 8 | use Symfony\Component\HttpKernel\Event\KernelEvent; |
9 | 9 | use Symfony\Component\HttpKernel\KernelEvents; |
@@ -24,7 +24,7 @@ |
||
24 | 24 | $return .= $piece; |
25 | 25 | } |
26 | 26 | if ($index < $count - 1) { |
27 | - $return .= $glue; |
|
27 | + $return .= $glue; |
|
28 | 28 | } |
29 | 29 | $index++; |
30 | 30 | } |
@@ -22,7 +22,7 @@ |
||
22 | 22 | $configuration = new Configuration(); |
23 | 23 | $config = $this->processConfiguration($configuration, $configs); |
24 | 24 | |
25 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
25 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
26 | 26 | $loader->load('services.yml'); |
27 | 27 | |
28 | 28 | $container->setParameter('bluebear.admins', $config['admins']); |