Skip to content

Commit

Permalink
Bugfix in Template Factory
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed May 22, 2015
1 parent b34ad76 commit 747e1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function getClass($class)
if (
! is_string($class)
|| ! class_exists($class)
|| ! in_array(ltrim('\\', $this->contract), class_implements($class), true)
|| ! in_array(ltrim($this->contract, '\\'), class_implements($class), true)
) {
return self::DEFAULT_CLASS;
}
Expand Down

0 comments on commit 747e1bb

Please sign in to comment.