@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * @param string $code |
69 | 69 | * @param string $action |
70 | - * @param array $parameters |
|
70 | + * @param string[] $parameters |
|
71 | 71 | * @param int $absolute |
72 | 72 | * |
73 | 73 | * @return string |
@@ -82,8 +82,8 @@ discard block |
||
82 | 82 | /** |
83 | 83 | * @param string $code |
84 | 84 | * @param string $action |
85 | - * @param mixed $object |
|
86 | - * @param array $parameters |
|
85 | + * @param string $object |
|
86 | + * @param string[] $parameters |
|
87 | 87 | * @param int $absolute |
88 | 88 | * |
89 | 89 | * @return string |
@@ -96,6 +96,8 @@ discard block |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | /** |
99 | + * @param string $code |
|
100 | + * @param string $action |
|
99 | 101 | * @return array |
100 | 102 | */ |
101 | 103 | private function getCodeAction($code, $action) |
@@ -581,6 +581,9 @@ discard block |
||
581 | 581 | return $datagrid; |
582 | 582 | } |
583 | 583 | |
584 | + /** |
|
585 | + * @param string $field |
|
586 | + */ |
|
584 | 587 | private function configureFormConfig($field, $disabled = false): void |
585 | 588 | { |
586 | 589 | $form = $this->prophesize(Form::class); |
@@ -600,6 +603,9 @@ discard block |
||
600 | 603 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
601 | 604 | } |
602 | 605 | |
606 | + /** |
|
607 | + * @param string $field |
|
608 | + */ |
|
603 | 609 | private function configureFormConfigComplexProperty($field): void |
604 | 610 | { |
605 | 611 | $form = $this->prophesize(Form::class); |
@@ -619,6 +625,9 @@ discard block |
||
619 | 625 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
620 | 626 | } |
621 | 627 | |
628 | + /** |
|
629 | + * @param string $field |
|
630 | + */ |
|
622 | 631 | private function configureFormConfigComplexPropertyArray($field): void |
623 | 632 | { |
624 | 633 | $form = $this->prophesize(Form::class); |
@@ -581,6 +581,9 @@ discard block |
||
581 | 581 | return $datagrid; |
582 | 582 | } |
583 | 583 | |
584 | + /** |
|
585 | + * @param string $field |
|
586 | + */ |
|
584 | 587 | private function configureFormConfig($field, $disabled = false): void |
585 | 588 | { |
586 | 589 | $form = $this->prophesize(Form::class); |
@@ -600,6 +603,9 @@ discard block |
||
600 | 603 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
601 | 604 | } |
602 | 605 | |
606 | + /** |
|
607 | + * @param string $field |
|
608 | + */ |
|
603 | 609 | private function configureFormConfigComplexProperty($field): void |
604 | 610 | { |
605 | 611 | $form = $this->prophesize(Form::class); |
@@ -619,6 +625,9 @@ discard block |
||
619 | 625 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
620 | 626 | } |
621 | 627 | |
628 | + /** |
|
629 | + * @param string $field |
|
630 | + */ |
|
622 | 631 | private function configureFormConfigComplexPropertyArray($field): void |
623 | 632 | { |
624 | 633 | $form = $this->prophesize(Form::class); |
@@ -68,6 +68,9 @@ |
||
68 | 68 | */ |
69 | 69 | private $modelManager; |
70 | 70 | |
71 | + /** |
|
72 | + * @param string $projectDirectory |
|
73 | + */ |
|
71 | 74 | public function __construct($projectDirectory, array $modelManagers = []) |
72 | 75 | { |
73 | 76 | $this->projectDirectory = $projectDirectory; |
@@ -39,6 +39,9 @@ |
||
39 | 39 | $this->environment = new \Twig_Environment($loader, ['strict_variables' => true]); |
40 | 40 | } |
41 | 41 | |
42 | + /** |
|
43 | + * @return string |
|
44 | + */ |
|
42 | 45 | abstract protected function getTemplate(); |
43 | 46 | |
44 | 47 | protected function getTranslator() |
@@ -20,10 +20,19 @@ |
||
20 | 20 | { |
21 | 21 | public function getTitle(): string; |
22 | 22 | |
23 | + /** |
|
24 | + * @return string|null |
|
25 | + */ |
|
23 | 26 | public function getDescription(): ?string; |
24 | 27 | |
28 | + /** |
|
29 | + * @return string|null |
|
30 | + */ |
|
25 | 31 | public function getImage(): ?string; |
26 | 32 | |
33 | + /** |
|
34 | + * @return string|null |
|
35 | + */ |
|
27 | 36 | public function getDomain(): ?string; |
28 | 37 | |
29 | 38 | /** |
@@ -19,6 +19,9 @@ |
||
19 | 19 | { |
20 | 20 | protected $metadataClass = null; |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $associationMapping |
|
24 | + */ |
|
22 | 25 | public function setParentAssociationMapping($associationMapping): void |
23 | 26 | { |
24 | 27 | $this->parentAssociationMapping = $associationMapping; |