Skip to content

Commit

Permalink
php-cs-fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Nov 20, 2015
1 parent ef89843 commit c79d8e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/base/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
namespace hidev\base;

use Yii;
use yii\helpers\ArrayHelper;
use yii\base\ViewContextInterface;
use yii\base\InvalidConfigException;
use yii\base\ViewContextInterface;
use yii\helpers\ArrayHelper;

/**
* The Application.
Expand Down
2 changes: 1 addition & 1 deletion src/goals/ConfigGoal.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function getGoal($name)
public static function findGoal($name)
{
$config = Yii::$app->pluginManager->get('goals')[$name];
return is_scalar($config) ? ['class' => $config] : (array)$config;
return is_scalar($config) ? ['class' => $config] : (array) $config;
}

public static function goal2class($id, $name = null)
Expand Down

0 comments on commit c79d8e5

Please sign in to comment.