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 Dec 13, 2016
1 parent 24e04aa commit 77170fd
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 77170fd

Please sign in to comment.