@@ -25,7 +25,7 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @return mixed |
|
| 28 | + * @return string |
|
| 29 | 29 | */ |
| 30 | 30 | public function getFqcn() |
| 31 | 31 | { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace DDDGen\VO; |
| 5 | 5 | |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | * Primitive constructor. |
| 19 | 19 | * |
| 20 | 20 | * @param string $name |
| 21 | - * @param string $alias |
|
| 22 | 21 | * @param array $src_stubs |
| 23 | 22 | * @param array $test_stubs |
| 24 | 23 | */ |
@@ -59,6 +59,6 @@ |
||
| 59 | 59 | { |
| 60 | 60 | Assert::thatAll([$this->name])->minLength(1); |
| 61 | 61 | Assert::that(count($this->test_stubs) + count($this->src_stubs)) |
| 62 | - ->min(1, "Provide at least one stub for this primitive"); |
|
| 62 | + ->min(1, "Provide at least one stub for this primitive"); |
|
| 63 | 63 | } |
| 64 | 64 | } |
| 65 | 65 | \ No newline at end of file |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace DDDGenApp\Input\Console\Commands; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace DDDGen\VO; |
| 5 | 5 | |
@@ -121,8 +121,8 @@ discard block |
||
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | $target_path = $layer->getSrcDir() |
| 124 | - . DIRECTORY_SEPARATOR . $qcn->toPSR4Path() |
|
| 125 | - . DIRECTORY_SEPARATOR . $filename; |
|
| 124 | + . DIRECTORY_SEPARATOR . $qcn->toPSR4Path() |
|
| 125 | + . DIRECTORY_SEPARATOR . $filename; |
|
| 126 | 126 | |
| 127 | 127 | $generated_stubs[$target_path] = $stub; |
| 128 | 128 | |
@@ -140,8 +140,8 @@ discard block |
||
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | $target_path = $layer->getTestsDir() |
| 143 | - . DIRECTORY_SEPARATOR . $qcn->toPSR4Path() |
|
| 144 | - . DIRECTORY_SEPARATOR . $filename; |
|
| 143 | + . DIRECTORY_SEPARATOR . $qcn->toPSR4Path() |
|
| 144 | + . DIRECTORY_SEPARATOR . $filename; |
|
| 145 | 145 | |
| 146 | 146 | $generated_stubs[$target_path] = $stub; |
| 147 | 147 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace DDDGen; |
| 5 | 5 | |