Commit e1371661 by Carsten Brandt

fixed namespace collision

AssetBundle can not be imported because the class already exists in this namespace. fixes #6475
parent 983fadf4
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
namespace yii\apidoc\templates\bootstrap\assets; namespace yii\apidoc\templates\bootstrap\assets;
use yii\web\AssetBundle;
use yii\web\View; use yii\web\View;
/** /**
...@@ -16,7 +15,7 @@ use yii\web\View; ...@@ -16,7 +15,7 @@ use yii\web\View;
* @author Carsten Brandt <mail@cebe.cc> * @author Carsten Brandt <mail@cebe.cc>
* @since 2.0 * @since 2.0
*/ */
class JsSearchAsset extends AssetBundle class JsSearchAsset extends \yii\web\AssetBundle
{ {
public $sourcePath = '@vendor/cebe/js-search'; public $sourcePath = '@vendor/cebe/js-search';
public $js = [ public $js = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment