Passed
Push — master ( 726379...6ea6e3 )
by Curtis
01:51
created
src/Command/GenerateTraitCommand.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -89,10 +89,10 @@  discard block
 block discarded – undo
89 89
     public function execute(InputInterface $input, OutputInterface $output)
90 90
     {
91 91
         /** @var string $traitName */
92
-        $traitName = (string)$input->getOption('classname');
92
+        $traitName = (string) $input->getOption('classname');
93 93
 
94 94
         /** @var string $destination */
95
-        $destination = (string)$input->getOption('destination');
95
+        $destination = (string) $input->getOption('destination');
96 96
 
97 97
         $outputFileName = sprintf(
98 98
             '%s/%s.php',
@@ -169,11 +169,11 @@  discard block
 block discarded – undo
169 169
     private function generateTrait(InputInterface $input): TraitGenerator
170 170
     {
171 171
         /** @var string $entityManagerGetter */
172
-        $entityManagerGetter = (string)$input->getOption('em-getter');
172
+        $entityManagerGetter = (string) $input->getOption('em-getter');
173 173
         /** @var string $traitName */
174
-        $traitName = (string)$input->getOption('classname');
174
+        $traitName = (string) $input->getOption('classname');
175 175
         /** @var string $traitNameSpace */
176
-        $traitNameSpace = (string)$input->getOption('namespace');
176
+        $traitNameSpace = (string) $input->getOption('namespace');
177 177
 
178 178
         $trait = new TraitGenerator(
179 179
             $traitName,
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
                 'get%sRepository',
231 231
                 $reflection->getShortName()
232 232
             ),
233
-            [],
233
+            [ ],
234 234
             MethodGenerator::FLAG_PUBLIC,
235 235
             sprintf(
236 236
                 'return $this->%s->getRepository(\\%s::class);',
Please login to merge, or discard this patch.