Test Failed
Push — master ( e1cf91...44a6a7 )
by Curtis
07:45 queued 05:45
created
src/Command/GenerateTypeScriptInterfaceCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.