summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2017-09-21 18:37:37 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2017-09-21 18:37:37 +0200
commit212760d4c93ce14e9ae34ef207bbb8f48a7dd9a7 (patch)
tree3fe9dd267bf3584f206ae589c1b168a58eabafb2 /includes
parent945fcb079a219fa29e8f6ee1afc3f1c0c5c822cb (diff)
Changed Container to Illuminate/Container
@see https://laravel.com/docs/5.5/container @see https://davejamesmiller.com/2017/06/15/laravel-illuminate-container-in-depth
Diffstat (limited to 'includes')
-rw-r--r--includes/engelsystem_provider.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/engelsystem_provider.php b/includes/engelsystem_provider.php
index 0de5e0f5..33422bfc 100644
--- a/includes/engelsystem_provider.php
+++ b/includes/engelsystem_provider.php
@@ -106,8 +106,8 @@ Db::getPdo()->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
*/
$logger = new EngelsystemLogger();
$app->instance('logger', $logger);
-$app->instance(LoggerInterface::class, $logger);
-$app->instance(EngelsystemLogger::class, $logger);
+$app->bind(LoggerInterface::class, 'logger');
+$app->bind(EngelsystemLogger::class, 'logger');
/**