Completed
Push — master ( bc565d...4de83b )
by Mauro
02:17
created
app/dependencies.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 $container = $app->getContainer();
6 6
 
7 7
 // PDO database library
8
-$container['db'] = function (ContainerInterface $c) {
8
+$container['db'] = function(ContainerInterface $c) {
9 9
     $db = $c->get('settings')['db'];
10 10
     $database = sprintf('mysql:host=%s;dbname=%s', $db['host'], $db['dbname']);
11 11
     $pdo = new PDO($database, $db['user'], $db['pass']);
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 };
17 17
 
18 18
 // Logger
19
-$container['logger'] = function (ContainerInterface $c) {
19
+$container['logger'] = function(ContainerInterface $c) {
20 20
     $settings = $c->get('settings')['logger'];
21 21
     if ($settings['enabled'] === false) {
22 22
         return false;
Please login to merge, or discard this patch.