Skip to content

Commit

Permalink
Use the hoa/consistency package
Browse files Browse the repository at this point in the history
  • Loading branch information
shulard committed Feb 19, 2016
1 parent 8785383 commit 894848c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Closure.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

namespace Hoa\Dispatcher;

use Hoa\Consistency;
use Hoa\Router;
use Hoa\View;

Expand Down Expand Up @@ -151,7 +152,7 @@ protected function populateKit(&$variables, $rtv)
{
$kitname = $this->getKitName();
if (!empty($kitname)) {
$kit = dnew($this->getKitName(), $rtv);
$kit = Consistency\Autoloader::dnew($this->getKitName(), $rtv);

if (!($kit instanceof Kit)) {
throw new Exception(
Expand Down

0 comments on commit 894848c

Please sign in to comment.