Skip to content

Commit

Permalink
Fix Travis CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
Denys Kyselov committed Sep 12, 2014
1 parent 79ace60 commit cab7114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Widget/WidgetRegistry.php
Expand Up @@ -73,7 +73,7 @@ class WidgetRegistry {
public function __construct(StringTemplate $templates, View $view, $widgets = []) { public function __construct(StringTemplate $templates, View $view, $widgets = []) {
$this->_templates = $templates; $this->_templates = $templates;
if (!empty($widgets)) { if (!empty($widgets)) {
if (is_string($widgets)){ if (is_string($widgets)) {
$loader = new PhpConfig(); $loader = new PhpConfig();
$widgets = $loader->read($widgets); $widgets = $loader->read($widgets);
} }
Expand Down

0 comments on commit cab7114

Please sign in to comment.