Passed
Push — master ( ccf010...588656 )
by Curtis
04:54
created
src/Command/GenerateTraitCommand.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -99,10 +99,10 @@  discard block
 block discarded – undo
99 99
     public function execute(InputInterface $input, OutputInterface $output)
100 100
     {
101 101
         /** @var string $traitName */
102
-        $traitName = (string)$input->getOption('className');
102
+        $traitName = (string) $input->getOption('className');
103 103
 
104 104
         /** @var string $destination */
105
-        $destination = (string)$input->getOption('output');
105
+        $destination = (string) $input->getOption('output');
106 106
 
107 107
         $outputFileName = sprintf(
108 108
             '%s/%s.php',
@@ -195,11 +195,11 @@  discard block
 block discarded – undo
195 195
     private function generateTrait(InputInterface $input): TraitGenerator
196 196
     {
197 197
         /** @var string $entityManagerGetter */
198
-        $entityManagerGetter = (string)$input->getOption('em-getter');
198
+        $entityManagerGetter = (string) $input->getOption('em-getter');
199 199
         /** @var string $traitName */
200
-        $traitName = (string)$input->getOption('className');
200
+        $traitName = (string) $input->getOption('className');
201 201
         /** @var string $traitNameSpace */
202
-        $traitNameSpace = (string)$input->getOption('namespace');
202
+        $traitNameSpace = (string) $input->getOption('namespace');
203 203
 
204 204
         $trait = new TraitGenerator(
205 205
             $traitName,
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
                 'get%sRepository',
258 258
                 $reflection->getShortName()
259 259
             ),
260
-            [],
260
+            [ ],
261 261
             MethodGenerator::FLAG_PUBLIC,
262 262
             sprintf(
263 263
                 'return $this->%s->getRepository(\\%s::class);',
Please login to merge, or discard this patch.