| @@ -100,7 +100,7 @@ discard block | ||
| 100 | 100 | |
| 101 | 101 | $fileContent .= $indent . sprintf( | 
| 102 | 102 |                  "%sinterface %s {" . PHP_EOL, | 
| 103 | - $namespace ? 'export ': '', | |
| 103 | + $namespace ? 'export ' : '', | |
| 104 | 104 | $metaData->reflClass->getShortName() | 
| 105 | 105 | ); | 
| 106 | 106 | $indent .= ' '; | 
| @@ -109,9 +109,9 @@ discard block | ||
| 109 | 109 | $fileContent .= sprintf( | 
| 110 | 110 | '%s%s%s: %s;' . PHP_EOL, | 
| 111 | 111 | $indent, | 
| 112 | - $fieldMapping['fieldName'], | |
| 113 | - $fieldMapping['nullable'] ? '?' : '', | |
| 114 | - $this->toTypeScript($fieldMapping['type']) | |
| 112 | + $fieldMapping[ 'fieldName' ], | |
| 113 | + $fieldMapping[ 'nullable' ] ? '?' : '', | |
| 114 | + $this->toTypeScript($fieldMapping[ 'type' ]) | |
| 115 | 115 | ); | 
| 116 | 116 | } | 
| 117 | 117 | |
| @@ -29,7 +29,7 @@ | ||
| 29 | 29 | $events->attach( | 
| 30 | 30 | 'doctrine', | 
| 31 | 31 | 'loadCli.post', | 
| 32 | -            function (EventInterface $e) { | |
| 32 | +            function(EventInterface $e) { | |
| 33 | 33 | /* @var $cli Application */ | 
| 34 | 34 | $cli = $e->getTarget(); | 
| 35 | 35 | |