Passed
Pull Request — master (#27)
by Prateek
06:50
created
src/Generators/Backend/View.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,14 +51,14 @@
 block discarded – undo
51 51
         $this->insertIntoFile(
52 52
             $mainMenuFile,
53 53
             '{{-- Main Menu --}}',
54
-			"\n".'<li class="nav-item dropdown">
54
+            "\n".'<li class="nav-item dropdown">
55 55
                     <a href="#" class="nav-link has-dropdown" data-toggle="dropdown"><i class="fas fa-columns"></i> <span> '.Str::plural($this->module->getModelName()).' </span></a>
56 56
                     <ul class="dropdown-menu">
57 57
                         <li><a class="nav-link" href="{{ route("backend.'.$this->module->getModuleName().'.create") }}"> Add new '.Str::plural($this->module->getModelName()).'</a></li>
58 58
                         <li><a class="nav-link" href="{{ route("backend.'.$this->module->getModuleName().'.index") }}">All '.Str::plural($this->module->getModelName()).'</a></li>
59 59
                     </ul>
60 60
                 </li>'
61
-		);
61
+        );
62 62
         return $this->generatedFiles;
63 63
     }
64 64
 
Please login to merge, or discard this patch.
src/Models/Types/LaragenType.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -5,17 +5,17 @@  discard block
 block discarded – undo
5 5
 use Prateekkarki\Laragen\Models\TypeResolver;
6 6
 
7 7
 /**
8
-  * The LaragenType abstract class. This class cannot be instantiated. It's implementations are used to create new types.
9
-  * Column instances are created from types that are implementations of this class.
10
-  *
11
-  * @method integer getSize()
12
-  * @method integer getDataType()
13
-  * @method array getPivotColumns()
14
-  * @method void setSize()
15
-  * @method void setIsRequired()
16
-  * @method void setIsUnique()
17
-  * @method void setIsDisplay()
18
-  */
8
+ * The LaragenType abstract class. This class cannot be instantiated. It's implementations are used to create new types.
9
+ * Column instances are created from types that are implementations of this class.
10
+ *
11
+ * @method integer getSize()
12
+ * @method integer getDataType()
13
+ * @method array getPivotColumns()
14
+ * @method void setSize()
15
+ * @method void setIsRequired()
16
+ * @method void setIsUnique()
17
+ * @method void setIsDisplay()
18
+ */
19 19
 abstract class LaragenType
20 20
 {
21 21
     /**
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 
213 213
     public function getTextRows() {
214 214
         if (!$this->size) {
215
-           return 4;
215
+            return 4;
216 216
         }
217 217
 
218 218
         return floor($this->getsize() / 120);
Please login to merge, or discard this patch.