Skip to content

Commit

Permalink
fixed Spot namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc authored and Dijky committed Jul 24, 2017
1 parent 1f5c9fa commit 90a035c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dijky/Pimple/Provider/SpotServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']))
{
Expand Down

0 comments on commit 90a035c

Please sign in to comment.