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