@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Lej\Command; |
6 | 6 | |
@@ -41,6 +41,6 @@ discard block |
||
41 | 41 | 'idClassName' => $idClassName |
42 | 42 | ]); |
43 | 43 | |
44 | - file_put_contents($path . '/' . $idClassName . '.php', $id); |
|
44 | + file_put_contents($path.'/'.$idClassName.'.php', $id); |
|
45 | 45 | } |
46 | 46 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Lej\Command; |
6 | 6 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | @mkdir($path, 0755, true); |
36 | 36 | |
37 | 37 | $entityClassName = $input->getArgument('name'); |
38 | - $idClassName = $entityClassName . 'Id'; |
|
38 | + $idClassName = $entityClassName.'Id'; |
|
39 | 39 | |
40 | 40 | $entity = $twig->render('entity.php.twig', [ |
41 | 41 | 'namespace' => $namespace, |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | 'idClassName' => $idClassName |
49 | 49 | ]); |
50 | 50 | |
51 | - file_put_contents($path . '/' . $entityClassName . '.php', $entity); |
|
52 | - file_put_contents($path . '/' . $idClassName . '.php', $id); |
|
51 | + file_put_contents($path.'/'.$entityClassName.'.php', $entity); |
|
52 | + file_put_contents($path.'/'.$idClassName.'.php', $id); |
|
53 | 53 | } |
54 | 54 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Lej\Command; |
6 | 6 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | protected function twig() : \Twig_Environment |
35 | 35 | { |
36 | - $loader = new \Twig_Loader_Filesystem(__DIR__ . '/../Resources/Template'); |
|
36 | + $loader = new \Twig_Loader_Filesystem(__DIR__.'/../Resources/Template'); |
|
37 | 37 | $twig = new \Twig_Environment($loader); |
38 | 38 | |
39 | 39 | return $twig; |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Lej\Command; |
6 | 6 | |
@@ -41,6 +41,6 @@ discard block |
||
41 | 41 | 'eventClassName' => $eventClassName |
42 | 42 | ]); |
43 | 43 | |
44 | - file_put_contents($path . '/' . $eventClassName . '.php', $event); |
|
44 | + file_put_contents($path.'/'.$eventClassName.'.php', $event); |
|
45 | 45 | } |
46 | 46 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Lej\Command; |
6 | 6 | |
@@ -41,6 +41,6 @@ discard block |
||
41 | 41 | 'objectClassName' => $objectClassName |
42 | 42 | ]); |
43 | 43 | |
44 | - file_put_contents($path . '/' . $objectClassName . '.php', $object); |
|
44 | + file_put_contents($path.'/'.$objectClassName.'.php', $object); |
|
45 | 45 | } |
46 | 46 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Lej\Command; |
6 | 6 | |
@@ -41,6 +41,6 @@ discard block |
||
41 | 41 | 'idClassName' => $idClassName |
42 | 42 | ]); |
43 | 43 | |
44 | - file_put_contents($path . '/' . $idClassName . '.php', $id); |
|
44 | + file_put_contents($path.'/'.$idClassName.'.php', $id); |
|
45 | 45 | } |
46 | 46 | } |