@@ -20,7 +20,7 @@ |
||
20 | 20 | dirname(__FILE__) . '/vendor/yiisoft/yii2', |
21 | 21 | dirname(__FILE__) . '/../vendor/yiisoft/yii2', |
22 | 22 | ]; |
23 | - foreach($searchPaths as $path) { |
|
23 | + foreach ($searchPaths as $path) { |
|
24 | 24 | if (is_dir($path)) { |
25 | 25 | $frameworkPath = $path; |
26 | 26 | break; |
@@ -22,8 +22,7 @@ |
||
22 | 22 | { |
23 | 23 | echo Html::a( |
24 | 24 | $this->isFavorite() ? |
25 | - '<span class="fa fa-star-o text-yellow"></span> Remove from favorites' : |
|
26 | - '<span class="fa fa-star text-yellow"></span> Add to favorites', |
|
25 | + '<span class="fa fa-star-o text-yellow"></span> Remove from favorites' : '<span class="fa fa-star text-yellow"></span> Add to favorites', |
|
27 | 26 | ['favorite', 'id' => $this->model->id], |
28 | 27 | [ |
29 | 28 | 'class' => 'btn btn-block btn-default btn-sm', |