Passed
Pull Request — master (#23)
by Prateek
07:40
created
src/Models/Types/General/TextType.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 class TextType extends GeneralType
6 6
 {
7
-	protected $dataType = 'text';
7
+    protected $dataType = 'text';
8 8
     protected $formType = 'text';
9
-	protected $validationRule = 'string';
9
+    protected $validationRule = 'string';
10 10
 
11 11
     public function getFormOptions() {
12 12
         $options = "";
Please login to merge, or discard this patch.
src/Models/Types/General/IntegerType.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
 class IntegerType extends GeneralType
6 6
 {
7 7
     protected $dataType = 'integer';
8
-	protected $formType = 'integer';
9
-	protected $size = false;
8
+    protected $formType = 'integer';
9
+    protected $size = false;
10 10
 }
Please login to merge, or discard this patch.
src/Models/Types/General/DateType.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 class DateType extends GeneralType
6 6
 {
7
-	protected $dataType = 'date';
8
-	protected $formType = 'date';
9
-	protected $size = false;
10
-	protected $validationRule = 'date_format:Y-m-d';
7
+    protected $dataType = 'date';
8
+    protected $formType = 'date';
9
+    protected $size = false;
10
+    protected $validationRule = 'date_format:Y-m-d';
11 11
 
12 12
 }
Please login to merge, or discard this patch.
src/Models/Types/File/Single/MixedFileType.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 class MixedFileType extends SingleType
6 6
 {
7
-	protected $hasFile = true;
8
-	protected $extensions = '.zip,.doc,.txt,.pdf,.csv';
9
-	protected $formType = 'file';
7
+    protected $hasFile = true;
8
+    protected $extensions = '.zip,.doc,.txt,.pdf,.csv';
9
+    protected $formType = 'file';
10 10
 }
Please login to merge, or discard this patch.
src/Models/Types/File/Single/ImageType.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 class ImageType extends SingleType
6 6
 {
7
-	protected $hasImage = true;
8
-	protected $formType = 'image';
9
-	protected $extensions = '.png,.jpg,.gif,.bmp,.jpeg';
7
+    protected $hasImage = true;
8
+    protected $formType = 'image';
9
+    protected $extensions = '.png,.jpg,.gif,.bmp,.jpeg';
10 10
 }
Please login to merge, or discard this patch.
src/Models/Types/File/Multiple/AttachmentType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 class AttachmentType extends MultipleType
6 6
 {
7 7
     protected $hasFile = true;
8
-	protected $formType = 'multipleFiles';
8
+    protected $formType = 'multipleFiles';
9 9
 
10 10
     public function getLaragenColumns()
11 11
     {
Please login to merge, or discard this patch.
src/Models/Types/File/Multiple/GalleryType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 class GalleryType extends MultipleType
6 6
 {
7 7
     protected $hasImage = true;
8
-	protected $formType = 'gallery';
8
+    protected $formType = 'gallery';
9 9
 
10 10
     public function getLaragenColumns()
11 11
     {
Please login to merge, or discard this patch.
src/Models/Types/File/SingleType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,5 +4,5 @@
 block discarded – undo
4 4
 
5 5
 class SingleType extends FileType
6 6
 {
7
-	protected $dataType = 'string';
7
+    protected $dataType = 'string';
8 8
 }
Please login to merge, or discard this patch.
src/Models/Types/LaragenType.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@  discard block
 block discarded – undo
9 9
     protected $uniqueFlag;
10 10
     protected $requiredFlag;
11 11
     protected $isDisplay;
12
-	protected $dataType;
13
-	protected $formType;
14
-	protected $stubs = [];
15
-	protected $size = false;
16
-	protected $validationRule = null;
17
-	protected $moduleName;
18
-	protected $columnName;
19
-	protected $optionString;
12
+    protected $dataType;
13
+    protected $formType;
14
+    protected $stubs = [];
15
+    protected $size = false;
16
+    protected $validationRule = null;
17
+    protected $moduleName;
18
+    protected $columnName;
19
+    protected $optionString;
20 20
 	
21 21
     public function __construct($moduleName, $columnName, $optionString)
22 22
     {
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
         }
53 53
 
54 54
         return property_exists($this, $method) ? $this->$method : "";
55
-   }
55
+    }
56 56
 	
57 57
     public function isRelational()
58 58
     {
59
-       return $this->relationalType;
59
+        return $this->relationalType;
60 60
     }
61 61
 
62 62
     public function getSchema()
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         $schema .= ";";
69 69
 
70 70
         return $schema;
71
-	}
71
+    }
72 72
 
73 73
     public function getValidationLine()
74 74
     {
Please login to merge, or discard this patch.