@@ -40,7 +40,6 @@ |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @param ContainerInterface $serviceLocator |
|
| 44 | 43 | * @return mixed|Paginator |
| 45 | 44 | */ |
| 46 | 45 | public function createService(ContainerInterface $container) |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param $name |
|
| 39 | + * @param string $name |
|
| 40 | 40 | * |
| 41 | 41 | * @return mixed |
| 42 | 42 | */ |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | /** |
| 60 | 60 | * @param array $data |
| 61 | 61 | * |
| 62 | - * @return mixed |
|
| 62 | + * @return EntityInterface |
|
| 63 | 63 | */ |
| 64 | 64 | public function create(array $data = null, $persist = false) |
| 65 | 65 | { |
@@ -33,6 +33,9 @@ |
||
| 33 | 33 | return $this; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param string $name |
|
| 38 | + */ |
|
| 36 | 39 | public function setNamespace($name) |
| 37 | 40 | { |
| 38 | 41 | $this->namespace = $name; |
@@ -79,6 +79,9 @@ |
||
| 79 | 79 | return $this->dependencyCheck($event); |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | + /** |
|
| 83 | + * @param \Core\Entity\EntityInterface $entity |
|
| 84 | + */ |
|
| 82 | 85 | private function checkEntityClasses($entity) |
| 83 | 86 | { |
| 84 | 87 | if (empty($this->entityClasses)) { |
@@ -131,6 +131,9 @@ |
||
| 131 | 131 | return $this->description; |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | + /** |
|
| 135 | + * @param string $mode |
|
| 136 | + */ |
|
| 134 | 137 | public function isMode($mode) |
| 135 | 138 | { |
| 136 | 139 | return $this->mode == $mode; |
@@ -160,7 +160,7 @@ |
||
| 160 | 160 | /** |
| 161 | 161 | * Starts content capturing. |
| 162 | 162 | * |
| 163 | - * @param string|array $type |
|
| 163 | + * @param string|null $type |
|
| 164 | 164 | * @param array $options see {@łink render()} for information. |
| 165 | 165 | * |
| 166 | 166 | * @return self |
@@ -53,7 +53,6 @@ |
||
| 53 | 53 | * |
| 54 | 54 | * @see \Zend\I18n\View\Helper\DateFormat::__invoke() |
| 55 | 55 | * |
| 56 | - * @param \DateTime $data|string |
|
| 57 | 56 | * @param string $dateType |
| 58 | 57 | * @return string |
| 59 | 58 | */ |
@@ -171,7 +171,7 @@ |
||
| 171 | 171 | * Return all event parameters or a single event parameter. |
| 172 | 172 | * |
| 173 | 173 | * @param string $param Parameter name to retrieve, or null to get all. |
| 174 | - * @param mixed $efault Default value to use when the parameter is missing. |
|
| 174 | + * @param mixed $default Default value to use when the parameter is missing. |
|
| 175 | 175 | * @return mixed |
| 176 | 176 | * @throws RuntimeException |
| 177 | 177 | */ |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * returns the number of years of the education or work experience |
| 19 | 19 | * |
| 20 | 20 | * @param array $array |
| 21 | - * @return string |
|
| 21 | + * @return double |
|
| 22 | 22 | */ |
| 23 | 23 | public function __invoke($array) |
| 24 | 24 | { |