@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | // configure the db connections holder |
25 | 25 | $db_connections = new Aura\Sql\ConnectionLocator(); |
26 | -$db_connections->setDefault(function () use ($config) { |
|
26 | +$db_connections->setDefault(function() use ($config) { |
|
27 | 27 | $connection = $config->database->slave; |
28 | 28 | return new Aura\Sql\ExtendedPdo( |
29 | 29 | "mysql:host={$connection->host}", |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | $connection->password |
32 | 32 | ); |
33 | 33 | }); |
34 | -$db_connections->setWrite('master', function () use ($config) { |
|
34 | +$db_connections->setWrite('master', function() use ($config) { |
|
35 | 35 | $connection = $config->database->master; |
36 | 36 | return new Aura\Sql\ExtendedPdo( |
37 | 37 | "mysql:host={$connection->host}", |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | $connection->password |
40 | 40 | ); |
41 | 41 | }); |
42 | -$db_connections->setRead('slave', function () use ($config) { |
|
42 | +$db_connections->setRead('slave', function() use ($config) { |
|
43 | 43 | $connection = $config->database->slave; |
44 | 44 | $pdo = new Aura\Sql\ExtendedPdo( |
45 | 45 | "mysql:host={$connection->host}", |
@@ -66,6 +66,6 @@ discard block |
||
66 | 66 | $container['console'] = $console; |
67 | 67 | $container['profiler'] = $profiler; |
68 | 68 | $container['default_timezone'] = new DateTimeZone('America/Phoenix'); |
69 | -$container['mail'] = function ($c) { |
|
69 | +$container['mail'] = function($c) { |
|
70 | 70 | return new Jacobemerick\Archangel\Archangel(); |
71 | 71 | }; |