Completed
Push — master ( 1d8325...85e65e )
by Sergio
12:28
created
src/SlideDefault.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,6 @@
 block discarded – undo
15 15
 
16 16
 namespace coderius\swiperslider;
17 17
 
18
-use Yii;
19
-use yii\helpers\Json;
20 18
 use Closure;
21 19
 use yii\base\BaseObject;
22 20
 use yii\helpers\Html;
Please login to merge, or discard this patch.
src/SwiperSlider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
     /**
181 181
      * Create html elements for widget
182 182
      *
183
-     * @return void
183
+     * @return string
184 184
      */
185 185
     protected function makeHtml(){
186 186
 
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,13 +16,12 @@
 block discarded – undo
16 16
 namespace coderius\swiperslider;
17 17
 
18 18
 use Yii;
19
+use coderius\swiperslider\JsHelper;
19 20
 use yii\base\InvalidConfigException;
20 21
 use yii\base\Widget;
21
-use yii\helpers\Json;
22 22
 use yii\helpers\ArrayHelper;
23 23
 use yii\helpers\Html;
24
-use Closure;
25
-use coderius\swiperslider\JsHelper;
24
+use yii\helpers\Json;
26 25
 
27 26
 class SwiperSlider extends Widget
28 27
 {
Please login to merge, or discard this patch.
src/SwiperSliderAsset.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 namespace coderius\swiperslider;
12 12
 
13
-use Yii;
14 13
 use yii\web\AssetBundle;
15 14
 /**
16 15
  * Asset bundle SwiperSlider
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      * @see yii\web\AssetBundle
48 48
      *
49 49
      * @param string $ext
50
-     * @param array $paths
50
+     * @param string[] $paths
51 51
      * @return void
52 52
      */
53 53
     public function setupAssets($ext, $paths)
Please login to merge, or discard this patch.