Skip to content

Commit

Permalink
Fix PHPCodeSniffer issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kazda01 committed Nov 2, 2023
1 parent 1f8d460 commit 2c61bda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SearchAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ class SearchAsset extends \yii\web\AssetBundle
public function init(): void
{
$this->sourcePath = __DIR__ . '/assets';

$this->js = [
defined('YII_ENV_DEV') && YII_ENV_DEV ? 'search.js' : 'search.min.js'
];

parent::init();
}

Expand Down

0 comments on commit 2c61bda

Please sign in to comment.