Skip to content

Commit

Permalink
Merge pull request #30 from kschroeder/develop
Browse files Browse the repository at this point in the history
Changed the order for the manager
  • Loading branch information
kschroeder committed Feb 17, 2017
2 parents 84df873 + c4f2628 commit ee596d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MagiumConfigurationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function getManager()
$reflectionClass = new \ReflectionClass($managerClass);
if ($managerClass == Manager::class) {
// just a shortcut so I don't have to rewrite some complicated unit tests. I'm just lazy.
$this->manager = new Manager($this->getLocalCache(), $this->getBuilder(), $this->getRemoteCache());
$this->manager = new Manager($this->getRemoteCache(), $this->getBuilder(), $this->getLocalCache());
return $this->manager;
}
if (!$reflectionClass->implementsInterface(ManagerInterface::class)) {
Expand Down

0 comments on commit ee596d6

Please sign in to comment.