@@ -23,7 +23,7 @@ |
||
| 23 | 23 | $config = $this->processConfiguration(new Configuration(), $configs); |
| 24 | 24 | |
| 25 | 25 | // Load bundle services. |
| 26 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 26 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 27 | 27 | $loader->load('services.yml'); |
| 28 | 28 | |
| 29 | 29 | $serviceLoader = new ServiceLoaderManager($container); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | { |
| 22 | 22 | $dispatcher = $container->getDefinition(Utility::getAliasedName('event_dispatcher')); |
| 23 | 23 | |
| 24 | - $sortFunc = function ($a, $b) { |
|
| 24 | + $sortFunc = function($a, $b) { |
|
| 25 | 25 | $a = isset($a['priority']) ? (Integer) $a['priority'] : 0; |
| 26 | 26 | $b = isset($b['priority']) ? (Integer) $b['priority'] : 0; |
| 27 | 27 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | $grouped[$cursor][count($grouped[$cursor]) - 1][] = $query; |
| 55 | 55 | } else { |
| 56 | 56 | $grouped[$cursor][] = array($query); |
| 57 | - $ordered[] =& $grouped[$cursor][count($grouped[$cursor]) - 1]; |
|
| 57 | + $ordered[] = & $grouped[$cursor][count($grouped[$cursor]) - 1]; |
|
| 58 | 58 | } |
| 59 | 59 | } |
| 60 | 60 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | // flush the previous and start a new query |
| 74 | 74 | if (!empty($query)) { |
| 75 | 75 | if ('.' == $query[0]) { |
| 76 | - $query = 'db'.$query; |
|
| 76 | + $query = 'db'.$query; |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | $this->data['queries'][$i++] = $query.';'; |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | |
| 174 | 174 | if (!empty($query)) { |
| 175 | 175 | if ('.' == $query[0]) { |
| 176 | - $query = 'db'.$query; |
|
| 176 | + $query = 'db'.$query; |
|
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | $this->data['queries'][$i++] = $query.';'; |