Skip to content
Permalink
Browse files

Fix Travis CI build

  • Loading branch information...
Denys Kyselov
Denys Kyselov committed Sep 12, 2014
1 parent 79ace60 commit cab7114662b8e2d563058cd0126fe95bc4c38021
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/View/Widget/WidgetRegistry.php
@@ -73,7 +73,7 @@ class WidgetRegistry {
public function __construct(StringTemplate $templates, View $view, $widgets = []) {
$this->_templates = $templates;
if (!empty($widgets)) {
if (is_string($widgets)){
if (is_string($widgets)) {
$loader = new PhpConfig();
$widgets = $loader->read($widgets);
}

0 comments on commit cab7114

Please sign in to comment.
You can’t perform that action at this time.