@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | * @param string|null $extendClass |
| 93 | 93 | * @param bool $withRepository |
| 94 | 94 | * |
| 95 | - * @return array |
|
| 95 | + * @return string[] |
|
| 96 | 96 | * |
| 97 | 97 | * @throws \RuntimeException |
| 98 | 98 | */ |
@@ -177,9 +177,9 @@ discard block |
||
| 177 | 177 | /** |
| 178 | 178 | * Generate the entity admin type. |
| 179 | 179 | * |
| 180 | - * @param $bundle |
|
| 181 | - * @param $entityName |
|
| 182 | - * @param $entityPrefix |
|
| 180 | + * @param BundleInterface $bundle |
|
| 181 | + * @param string $entityName |
|
| 182 | + * @param string $entityPrefix |
|
| 183 | 183 | * @param array $fields |
| 184 | 184 | * @param string $extendClass |
| 185 | 185 | */ |
@@ -505,6 +505,10 @@ discard block |
||
| 505 | 505 | return Kernel::VERSION_ID >= 40000; |
| 506 | 506 | } |
| 507 | 507 | |
| 508 | + /** |
|
| 509 | + * @param string $fullClassName |
|
| 510 | + * @param string $outputDirectory |
|
| 511 | + */ |
|
| 508 | 512 | private function writeEntityRepositoryClass($fullClassName, $outputDirectory) |
| 509 | 513 | { |
| 510 | 514 | $code = $this->getRepositoryGenerator()->generateEntityRepositoryClass($fullClassName); |