Passed
Pull Request — master (#23)
by Prateek
07:40
created
src/Models/Types/Relational/SingleType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     protected $hasSingleRelation = true;
9 9
     protected $size = false;
10 10
     protected $relationalType = false;
11
-	protected $formType = 'parent';
11
+    protected $formType = 'parent';
12 12
     
13 13
     protected $stubs = [
14 14
         'modelMethod' => 'common/Models/fragments/hasOne',
Please login to merge, or discard this patch.
src/Generators/Backend/View.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,14 +43,14 @@
 block discarded – undo
43 43
         $this->insertIntoFile(
44 44
             $mainMenuFile,
45 45
             '{{-- Main Menu --}}',
46
-			"\n".'<li class="nav-item dropdown">
46
+            "\n".'<li class="nav-item dropdown">
47 47
                     <a href="#" class="nav-link has-dropdown" data-toggle="dropdown"><i class="fas fa-columns"></i> <span> '.str_plural($this->module->getModelName()).' </span></a>
48 48
                     <ul class="dropdown-menu">
49 49
                         <li><a class="nav-link" href="{{ route("backend.'.$this->module->getModuleName().'.create") }}"> Add new '.str_plural($this->module->getModelName()).'</a></li>
50 50
                         <li><a class="nav-link" href="{{ route("backend.'.$this->module->getModuleName().'.index") }}">All '.str_plural($this->module->getModelName()).'</a></li>
51 51
                     </ul>
52 52
                 </li>'
53
-		);
53
+        );
54 54
         return $this->generatedFiles;
55 55
     }
56 56
 
Please login to merge, or discard this patch.
src/Generators/Backend/Request.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $fullFilePath = $this->getPath("app/Http/Requests/Backend/").$this->module->getModelName()."Request".".php";
21 21
         file_put_contents($fullFilePath, $controllerTemplate);
22 22
         return $fullFilePath;
23
-	}
23
+    }
24 24
 	
25 25
     protected function getRules()
26 26
     {
@@ -30,5 +30,5 @@  discard block
 block discarded – undo
30 30
         }
31 31
         $delimiter = ",\n{$this->getTabs(3)}";
32 32
         return (implode($delimiter, $validation));
33
-	}
33
+    }
34 34
 }
35 35
\ No newline at end of file
Please login to merge, or discard this patch.