@@ -89,7 +89,7 @@ |
||
89 | 89 | * |
90 | 90 | * @param ORM\Entity $entities Result array with all entities to create an insert for |
91 | 91 | * @param string $entityClassName Class of the specified entity (same as entities) |
92 | - * @param array $ignoreFields fields not to use in the insert query |
|
92 | + * @param string[] $ignoreFields fields not to use in the insert query |
|
93 | 93 | * |
94 | 94 | * @return string an insert sql query, of no result nul |
95 | 95 | */ |
@@ -229,7 +229,7 @@ |
||
229 | 229 | * |
230 | 230 | * @throws AccessDeniedException |
231 | 231 | * |
232 | - * @return array |
|
232 | + * @return RedirectResponse |
|
233 | 233 | */ |
234 | 234 | public function deleteAction(Request $request, $id) |
235 | 235 | { |
@@ -35,6 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @throws \Defuse\Crypto\Exception\IOException |
37 | 37 | * @throws \Defuse\Crypto\Exception\EnvironmentIsBrokenException |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function encryptFile($inputFile, $outputFile); |
40 | 41 | |
@@ -45,6 +46,7 @@ discard block |
||
45 | 46 | * @throws \Defuse\Crypto\Exception\WrongKeyOrModifiedCiphertextException |
46 | 47 | * @throws \Defuse\Crypto\Exception\IOException |
47 | 48 | * @throws \Defuse\Crypto\Exception\EnvironmentIsBrokenException |
49 | + * @return void |
|
48 | 50 | */ |
49 | 51 | public function decryptFile($inputFile, $outputFile); |
50 | 52 | } |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | * Get an array of fields that need to be added to the entity. |
398 | 398 | * |
399 | 399 | * @param BundleInterface $bundle |
400 | - * @param array $reservedFields |
|
400 | + * @param string[] $reservedFields |
|
401 | 401 | * |
402 | 402 | * @return array |
403 | 403 | */ |
@@ -575,7 +575,7 @@ discard block |
||
575 | 575 | * |
576 | 576 | * @param bool $niceNames |
577 | 577 | * |
578 | - * @return array |
|
578 | + * @return string[] |
|
579 | 579 | */ |
580 | 580 | private function getTypes($niceNames = false) |
581 | 581 | { |
@@ -603,7 +603,7 @@ discard block |
||
603 | 603 | /** |
604 | 604 | * Get all available media types. |
605 | 605 | * |
606 | - * @return array |
|
606 | + * @return string[] |
|
607 | 607 | */ |
608 | 608 | private function getMediaTypes() |
609 | 609 | { |
@@ -624,7 +624,7 @@ discard block |
||
624 | 624 | * |
625 | 625 | * @param BundleInterface $bundle |
626 | 626 | * @param $objectName |
627 | - * @param $prefix |
|
627 | + * @param string $prefix |
|
628 | 628 | * @param $name |
629 | 629 | * @param $type |
630 | 630 | * @param null $extra |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * |
149 | 149 | * @param Kernel $kernel |
150 | 150 | * |
151 | - * @return array |
|
151 | + * @return \Symfony\Component\Console\Question\iterable|null |
|
152 | 152 | */ |
153 | 153 | private function getNamespaceAutoComplete(Kernel $kernel) |
154 | 154 | { |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * |
166 | 166 | * @param $namespace |
167 | 167 | * |
168 | - * @return mixed |
|
168 | + * @return string |
|
169 | 169 | */ |
170 | 170 | private function fixNamespace($namespace) |
171 | 171 | { |
@@ -11,6 +11,9 @@ |
||
11 | 11 | { |
12 | 12 | protected $id; |
13 | 13 | |
14 | + /** |
|
15 | + * @param string $id |
|
16 | + */ |
|
14 | 17 | public function __construct($id) |
15 | 18 | { |
16 | 19 | $this->setId($id); |
@@ -56,6 +56,7 @@ |
||
56 | 56 | * @param string $origin |
57 | 57 | * @param string $target |
58 | 58 | * @param bool $permanent |
59 | + * @param null|string $domain |
|
59 | 60 | * |
60 | 61 | * @return Redirect |
61 | 62 | */ |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
77 | - * @param $id |
|
77 | + * @param integer|null $id |
|
78 | 78 | * |
79 | 79 | * @return mixed|null |
80 | 80 | * |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | /** |
113 | 113 | * @param Taggable $item |
114 | 114 | * @param $class |
115 | - * @param $locale |
|
115 | + * @param string $locale |
|
116 | 116 | * @param int $nbOfItems |
117 | 117 | * |
118 | 118 | * @return array|null |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * |
57 | 57 | * @Route("/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_popup_abstractpopup_delete", methods={"GET", "POST"}) |
58 | 58 | * |
59 | - * @return array |
|
59 | + * @return \Symfony\Component\HttpFoundation\Response |
|
60 | 60 | */ |
61 | 61 | public function deleteAction(Request $request, $id) |
62 | 62 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * |
71 | 71 | * @Route("/{id}/edit", requirements={"id" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_popup_abstractpopup_edit", methods={"GET", "POST"}) |
72 | 72 | * |
73 | - * @return array |
|
73 | + * @return \Symfony\Component\HttpFoundation\Response |
|
74 | 74 | */ |
75 | 75 | public function editAction(Request $request, $id) |
76 | 76 | { |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * |
83 | 83 | * @Route("/add", name="kunstmaanleadgenerationbundle_admin_popup_abstractpopup_add", methods={"GET", "POST"}) |
84 | 84 | * |
85 | - * @return array |
|
85 | + * @return \Symfony\Component\HttpFoundation\Response |
|
86 | 86 | */ |
87 | 87 | public function addAction(Request $request) |
88 | 88 | { |