@@ -17,7 +17,7 @@ |
||
17 | 17 | $capsule = new Capsule(); |
18 | 18 | |
19 | 19 | //Adds MongoDb support. |
20 | -$capsule->getDatabaseManager()->extend('mongodb', function ($config) { |
|
20 | +$capsule->getDatabaseManager()->extend('mongodb', function($config) { |
|
21 | 21 | return new Jenssegers\Mongodb\Connection($config); |
22 | 22 | }); |
23 | 23 |
@@ -56,7 +56,7 @@ |
||
56 | 56 | */ |
57 | 57 | private static function removeEmptyFilters(array $filters) |
58 | 58 | { |
59 | - $filters = array_filter($filters, function ($v) { |
|
59 | + $filters = array_filter($filters, function($v) { |
|
60 | 60 | return count($v) > 0; |
61 | 61 | }); |
62 | 62 |