@@ -2,9 +2,9 @@ discard block |
||
2 | 2 | |
3 | 3 | require('vendor/autoload.php'); |
4 | 4 | |
5 | -$shortopts = "d:b::n::p::t::"; |
|
6 | -$longopts = array( |
|
7 | - "datatype:", // Required value |
|
5 | +$shortopts = "d:b::n::p::t::"; |
|
6 | +$longopts = array( |
|
7 | + "datatype:", // Required value |
|
8 | 8 | "basetype::", |
9 | 9 | "namespace::", |
10 | 10 | "path::", |
@@ -19,8 +19,8 @@ discard block |
||
19 | 19 | $datatype = $options['datatype']; |
20 | 20 | $basetype = $options['basetype'] ?? ''; |
21 | 21 | $namespace = $options['namespace'] ?? 'Formularium\Datatype'; |
22 | -$path = $options['path'] ?? "Formularium/Datatype/" ; |
|
23 | -$testpath = $options['testpath'] ?? "tests/Datatype" ; |
|
22 | +$path = $options['path'] ?? "Formularium/Datatype/"; |
|
23 | +$testpath = $options['testpath'] ?? "tests/Datatype"; |
|
24 | 24 | |
25 | 25 | $code = \Formularium\Factory\DatatypeFactory::generate( |
26 | 26 | $datatype, |