Passed
Push — master ( 719f94...b2b534 )
by Sergio
03:16
created
src/UploadFileBehavior.php 1 patch
Indentation   +6 added lines, -8 removed lines patch added patch discarded remove patch
@@ -52,8 +52,6 @@  discard block
 block discarded – undo
52 52
  *                    'uploadFileBehavior' => [
53 53
  *                        'class' => UploadFileBehavior::className(),
54 54
  *                        'nameOfAttributeStorage' => 'img_src',
55
-                    
56
-                    
57 55
  *                        'targets' => [
58 56
  *                            
59 57
  *                            [
@@ -173,8 +171,8 @@  discard block
 block discarded – undo
173 171
     private $time = false;
174 172
 
175 173
         /**
176
-     * @inheritdoc
177
-     */
174
+         * @inheritdoc
175
+         */
178 176
     public function init()
179 177
     {
180 178
         parent::init();
@@ -206,9 +204,9 @@  discard block
 block discarded – undo
206 204
         
207 205
     }
208 206
 
209
-     /**
210
-     * {@inheritdoc}
211
-     */
207
+        /**
208
+         * {@inheritdoc}
209
+         */
212 210
     public function events()
213 211
     {
214 212
         return [
@@ -381,7 +379,7 @@  discard block
 block discarded – undo
381 379
         $baseName = $file->baseName;
382 380
         $ext = $file->extension;
383 381
         
384
-         return $this->newFileName ?
382
+            return $this->newFileName ?
385 383
             $this->newFileName . '.' . $file->extension :
386 384
             $file->baseName . '_' . $this->time . '.' . $file->extension;
387 385
     }
Please login to merge, or discard this patch.