Passed
Push — master ( 05db97...b4e254 )
by Vojta
08:44
created
Plugin.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -406,7 +406,6 @@
 block discarded – undo
406 406
      *
407 407
      * See: https://github.com/vojtasvoboda/oc-twigextensions-plugin/issues/25
408 408
      *
409
-     * @param string $filename Filename of the asset file
410 409
      *
411 410
      * @return string
412 411
      */
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -419,14 +419,14 @@
 block discarded – undo
419 419
                     $filename_ = trim(preg_replace('/^' . preg_quote($prefix, '/') . '/', '', $filename), '/');
420 420
                     if (file_exists($filename_))
421 421
                     {
422
-                      $timestamp = filemtime($filename_);
423
-                      $prepend = ($format) ? date($fomat, $timestamp) : $timestamp;
424
-                      return $filename . "?" . $prepend;
422
+                        $timestamp = filemtime($filename_);
423
+                        $prepend = ($format) ? date($fomat, $timestamp) : $timestamp;
424
+                        return $filename . "?" . $prepend;
425 425
                     }else
426 426
                     {
427
-                      return $filename;
427
+                        return $filename;
428 428
                     }
429 429
                 },
430
-             ];
430
+                ];
431 431
     }
432 432
 }
Please login to merge, or discard this patch.