Test Setup Failed
Branch master (df9a0e)
by Reza
04:25
created
Category
src/Directives/OldDirective.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
         $array = explode(',', $parameter);
12 12
         $oldValue = trim($array[0]);
13 13
         $secondParam = trim(@$array[1]);
14
-        if($secondParam){
14
+        if ($secondParam) {
15 15
             return "<?php echo old({$oldValue}, {$secondParam}) ?>";
16 16
         }
17 17
         return "<?php echo old({$oldValue}) ?>";
Please login to merge, or discard this patch.
src/Directives/ScriptDirective.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         $array = explode(',', $parameter);
14 14
         $url = asset(trim($array[0]));
15 15
         $defer = trim(@$array[1]) ?? null;
16
-        if($defer) {
16
+        if ($defer) {
17 17
             return "<script src='{$url}' defer></script>";
18 18
         }
19 19
         return "<script src='{$url}'></script>";
Please login to merge, or discard this patch.
src/Directives/isActiveDirective.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     public static function render($list, $type = 'active', $else = '')
18 18
     {
19
-        if(is_array($list)){
19
+        if (is_array($list)) {
20 20
             return (in_array(Route::getCurrentRoute()->getName(), $list)) ? $type : $else;
21 21
         }
22 22
         return (Route::getCurrentRoute()->getName() == $list) ? $type : $else;
Please login to merge, or discard this patch.