@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * A Node instance or the internal name. |
| 74 | 74 | * When the internal name is passed we'll get the node instance. |
| 75 | 75 | * Based on the language we'll locate the correct Page instance. |
| 76 | - * @param pagePartInterface $pagePart |
|
| 76 | + * @param PagePartInterface $pagePart |
|
| 77 | 77 | * A completely configured pagepart for this language |
| 78 | 78 | * @param string $language |
| 79 | 79 | * The languagecode. nl|fr|en|.. . Just one. |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | * @param string $pagePartClassName the full class name of the pagepart you want to instantiate |
| 204 | 204 | * @param array $setters An array of setternames and their values. array('setName' => 'Kim', 'isDeveloper' => true) |
| 205 | 205 | * |
| 206 | - * @return callable the function that will instantiate a pagepart |
|
| 206 | + * @return \Closure the function that will instantiate a pagepart |
|
| 207 | 207 | */ |
| 208 | 208 | public function getCreatorArgumentsForPagePartAndProperties($pagePartClassName, array $setters = null) |
| 209 | 209 | { |
@@ -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 | */ |
@@ -58,6 +58,7 @@ |
||
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | 60 | * {@inheritdoc} |
| 61 | + * @param string $indexName |
|
| 61 | 62 | */ |
| 62 | 63 | public function getIndex($indexName) |
| 63 | 64 | { |
@@ -186,7 +186,7 @@ |
||
| 186 | 186 | /** |
| 187 | 187 | * Loops over the OrderItems and accumulates the value of the given property. Can also be a getter. |
| 188 | 188 | * |
| 189 | - * @param $property |
|
| 189 | + * @param string $property |
|
| 190 | 190 | * |
| 191 | 191 | * @return int|string |
| 192 | 192 | */ |
@@ -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 | } |
@@ -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 | { |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * |
| 43 | 43 | * @Route("/{popup}/add", requirements={"popup" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_add", methods={"GET", "POST"}) |
| 44 | 44 | * |
| 45 | - * @return array |
|
| 45 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 46 | 46 | */ |
| 47 | 47 | public function addAction(Request $request, $popup) |
| 48 | 48 | { |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * |
| 59 | 59 | * @Route("/{popup}/rules/{id}/edit", requirements={"popup" = "\d+", "rule" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_edit", methods={"GET", "POST"}) |
| 60 | 60 | * |
| 61 | - * @return array |
|
| 61 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 62 | 62 | */ |
| 63 | 63 | public function editAction(Request $request, $id, $popup) |
| 64 | 64 | { |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | * |
| 73 | 73 | * @Route("/{popup}/rules/{id}/delete", requirements={"popup" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_delete", methods={"GET", "POST"}) |
| 74 | 74 | * |
| 75 | - * @return array |
|
| 75 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 76 | 76 | */ |
| 77 | 77 | public function deleteAction(Request $request, $id, $popup) |
| 78 | 78 | { |