@@ -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 | { |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | /** |
| 192 | 192 | * Loops over the OrderItems and accumulates the value of the given property. Can also be a getter. |
| 193 | 193 | * |
| 194 | - * @param $property |
|
| 194 | + * @param string $property |
|
| 195 | 195 | * @return int|string |
| 196 | 196 | */ |
| 197 | 197 | private function accumulatePropertyOnOrderItems($property) |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | /** |
| 28 | 28 | * Returns a list of functions to add to the existing list. |
| 29 | 29 | * |
| 30 | - * @return array An array of functions |
|
| 30 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 31 | 31 | */ |
| 32 | 32 | public function getFunctions() |
| 33 | 33 | { |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * |
| 131 | 131 | * @param array &$arr This is modified in place. |
| 132 | 132 | * @param string $option The key in the $arr array. |
| 133 | - * @param mixed $value The new value if the option wasn't set already. |
|
| 133 | + * @param string $value The new value if the option wasn't set already. |
|
| 134 | 134 | */ |
| 135 | 135 | private function setOptionIfNotSet(&$arr, $option, $value) |
| 136 | 136 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * @Route("/add", name="kunstmaantaggingbundle_admin_tag_add") |
| 43 | 43 | * @Method({"GET", "POST"}) |
| 44 | 44 | * @Template("KunstmaanAdminListBundle:Default:add.html.twig") |
| 45 | - * @return array |
|
| 45 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 46 | 46 | */ |
| 47 | 47 | public function addAction(Request $request) |
| 48 | 48 | { |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | /** |
| 111 | 111 | * Get createdAt |
| 112 | 112 | * |
| 113 | - * @return datetime |
|
| 113 | + * @return \DateTime |
|
| 114 | 114 | */ |
| 115 | 115 | public function getCreatedAt() |
| 116 | 116 | { |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | * |
| 81 | 81 | * @param mixed $value The value in the transformed representation |
| 82 | 82 | * |
| 83 | - * @return mixed The value in the original representation |
|
| 83 | + * @return ArrayCollection The value in the original representation |
|
| 84 | 84 | * |
| 85 | 85 | * @throws UnexpectedTypeException when the argument is not of the expected type |
| 86 | 86 | * @throws TransformationFailedException when the transformation fails |
@@ -58,6 +58,9 @@ |
||
| 58 | 58 | return $this->extension; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | + /** |
|
| 62 | + * @param string $extension |
|
| 63 | + */ |
|
| 61 | 64 | public function setExtension($extension) |
| 62 | 65 | { |
| 63 | 66 | $this->extension = $extension; |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | - * @return mixed |
|
| 104 | + * @return string |
|
| 105 | 105 | */ |
| 106 | 106 | public function getId() |
| 107 | 107 | { |
@@ -118,6 +118,9 @@ discard block |
||
| 118 | 118 | $this->keyword = $keyword; |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | + /** |
|
| 122 | + * @return string |
|
| 123 | + */ |
|
| 121 | 124 | public function getDomain() |
| 122 | 125 | { |
| 123 | 126 | return $this->domain; |
@@ -91,7 +91,7 @@ |
||
| 91 | 91 | * Build an sql insert into query by the paramters provided |
| 92 | 92 | * @param ORM\Entity $entities Result array with all entities to create an insert for |
| 93 | 93 | * @param string $entityClassName Class of the specified entity (same as entities) |
| 94 | - * @param array $ignoreFields fields not to use in the insert query |
|
| 94 | + * @param string[] $ignoreFields fields not to use in the insert query |
|
| 95 | 95 | * @return string an insert sql query, of no result nul |
| 96 | 96 | */ |
| 97 | 97 | public function buildInsertSql($entities, $entityClassName, $ignoreFields = array()) |