From 90a035c2d0c79ffb03827f6277363b720f4ece1e Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 24 Jul 2017 14:48:40 +0200 Subject: [PATCH] fixed Spot namespaces --- src/Dijky/Pimple/Provider/SpotServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dijky/Pimple/Provider/SpotServiceProvider.php b/src/Dijky/Pimple/Provider/SpotServiceProvider.php index b22ce4b..ebfad0e 100644 --- a/src/Dijky/Pimple/Provider/SpotServiceProvider.php +++ b/src/Dijky/Pimple/Provider/SpotServiceProvider.php @@ -29,11 +29,11 @@ public function register(Container $c) $c[$servicePrefix . 'spot.connections.default'] = null; $c[$servicePrefix . 'spot'] = function() use ($c, $servicePrefix) { - return new Spot\Locator($c[$servicePrefix . 'spot.config']); + return new \Spot\Locator($c[$servicePrefix . 'spot.config']); }; $c[$servicePrefix . 'spot.config'] = function() use ($c, $servicePrefix) { - $config = new Spot\Config(); + $config = new \Spot\Config(); if (isset($c[$servicePrefix . 'spot.connections'])) {