@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | * @param string $icon the icon name |
| 36 | 36 | * @param array $options the maki marker icon |
| 37 | 37 | * |
| 38 | - * @return string the resulting js code |
|
| 38 | + * @return JsExpression the resulting js code |
|
| 39 | 39 | */ |
| 40 | 40 | public function make($icon, $options = []) |
| 41 | 41 | { |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * |
| 59 | 59 | * @param \yii\web\View $view |
| 60 | 60 | * |
| 61 | - * @return mixed |
|
| 61 | + * @return MakiMarker |
|
| 62 | 62 | * @codeCoverageIgnore |
| 63 | 63 | */ |
| 64 | 64 | public function registerAssetBundle($view) |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | |
| 10 | 10 | |
| 11 | 11 | use dosamigos\leaflet\Plugin; |
| 12 | -use yii\web\JsExpression; |
|
| 13 | 12 | use yii\helpers\Json; |
| 13 | +use yii\web\JsExpression; |
|
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | 16 | * MakiMarker allows to create map icons using Maki Icons from MapBox |