@@ -133,7 +133,7 @@ |
||
133 | 133 | $this->getDocumentation() . |
134 | 134 | "\n\nRandom value example: " . var_export($this->getRandom(), true) . |
135 | 135 | "\n\nSQL datatype: `" . $this->getSQLType() . "`" . |
136 | - "\n\nLaravel SQL datatype: `" . $this->getLaravelSQLType('name') . "`", |
|
136 | + "\n\nLaravel SQL datatype: `" . $this->getLaravelSQLType('name') . "`", |
|
137 | 137 | [] |
138 | 138 | ); |
139 | 139 | } |
@@ -64,17 +64,17 @@ |
||
64 | 64 | $iconData[] = $icon; |
65 | 65 | $group = HTMLNode::factory( |
66 | 66 | 'div', |
67 | - [ 'class' => "input-group mb-3" ], |
|
67 | + ['class' => "input-group mb-3"], |
|
68 | 68 | [ |
69 | 69 | HTMLNode::factory( |
70 | 70 | 'div', |
71 | - [ 'class' => "input-group-prepend" ], |
|
71 | + ['class' => "input-group-prepend"], |
|
72 | 72 | HTMLNode::factory( |
73 | 73 | 'span', |
74 | - [ 'class' => "input-group-text" ], |
|
74 | + ['class' => "input-group-text"], |
|
75 | 75 | HTMLNode::factory( |
76 | 76 | 'i', |
77 | - [ 'class' => $iconData ], |
|
77 | + ['class' => $iconData], |
|
78 | 78 | [] |
79 | 79 | ) |
80 | 80 | ) |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | |
7 | 7 | $shortopts = "v:p::t::"; |
8 | 8 | $longopts = array( |
9 | - "validator:", // Required value |
|
9 | + "validator:", // Required value |
|
10 | 10 | "namespace::", |
11 | 11 | "path::", |
12 | 12 | "test-path::" |
@@ -19,8 +19,8 @@ discard block |
||
19 | 19 | |
20 | 20 | $validator = $options['validator']; |
21 | 21 | $namespace = $options['namespace'] ?? 'Formularium\\Validator'; |
22 | -$path = $options['path'] ?? "Formularium/Validator/" ; |
|
23 | -$testpath = $options['testpath'] ?? "tests/Validator" ; |
|
22 | +$path = $options['path'] ?? "Formularium/Validator/"; |
|
23 | +$testpath = $options['testpath'] ?? "tests/Validator"; |
|
24 | 24 | |
25 | 25 | $code = ValidatorFactory::generate( |
26 | 26 | $validator, |