@@ -22,6 +22,9 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | trait EntityTrait |
| 24 | 24 | { |
| 25 | + /** |
|
| 26 | + * @param string $property |
|
| 27 | + */ |
|
| 25 | 28 | public function notEmpty($property, array $args=[]) |
| 26 | 29 | { |
| 27 | 30 | $method = "get$property"; |
@@ -146,6 +146,9 @@ |
||
| 146 | 146 | return $events; |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | + /** |
|
| 150 | + * @param ServiceLocatorInterface $services |
|
| 151 | + */ |
|
| 149 | 152 | protected function getConfig($services, $name) |
| 150 | 153 | { |
| 151 | 154 | $defaults = [ |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | /** |
| 99 | 99 | * Gets an iterator to iterate over the enabled formulars. |
| 100 | 100 | * |
| 101 | - * @return \ArrayIterator |
|
| 101 | + * @return PriorityList |
|
| 102 | 102 | * @see IteratorAggregate::getIterator() |
| 103 | 103 | */ |
| 104 | 104 | public function getIterator() |
@@ -633,7 +633,7 @@ discard block |
||
| 633 | 633 | } |
| 634 | 634 | |
| 635 | 635 | /** |
| 636 | - * @param $data |
|
| 636 | + * @param \Zend\Stdlib\ParametersInterface $data |
|
| 637 | 637 | * @return $this |
| 638 | 638 | */ |
| 639 | 639 | public function setData($data) |
@@ -73,6 +73,9 @@ |
||
| 73 | 73 | |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $layout |
|
| 78 | + */ |
|
| 76 | 79 | public function renderElement($element, $layout, $parameter) |
| 77 | 80 | { |
| 78 | 81 | $parameterPartial = $parameter; |
@@ -52,6 +52,9 @@ |
||
| 52 | 52 | return $this->scripts; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | + /** |
|
| 56 | + * @param string $key |
|
| 57 | + */ |
|
| 55 | 58 | public function setForm($key, $spec, $enabled = true) |
| 56 | 59 | { |
| 57 | 60 | if (is_object($spec)) { |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * Detach all our listeners from the event manager |
| 50 | 50 | * |
| 51 | 51 | * @param SharedEventManagerInterface $events |
| 52 | - * @return void |
|
| 52 | + * @return boolean |
|
| 53 | 53 | */ |
| 54 | 54 | public function detachShared(SharedEventManagerInterface $events) |
| 55 | 55 | { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | * |
| 28 | 28 | * @param ServiceLocatorInterface $serviceLocator |
| 29 | 29 | * |
| 30 | - * @return mixed |
|
| 30 | + * @return Job |
|
| 31 | 31 | */ |
| 32 | 32 | public function createService(ServiceLocatorInterface $serviceLocator) |
| 33 | 33 | { |
@@ -79,7 +79,6 @@ |
||
| 79 | 79 | /** |
| 80 | 80 | * Sets the invoice address. |
| 81 | 81 | * |
| 82 | - * @param InvoiceAddressInterface $invoice |
|
| 83 | 82 | * |
| 84 | 83 | * @return self |
| 85 | 84 | */ |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * |
| 37 | 37 | * @param ServiceLocatorInterface $serviceLocator |
| 38 | 38 | * |
| 39 | - * @return mixed |
|
| 39 | + * @return InvoiceAddress |
|
| 40 | 40 | */ |
| 41 | 41 | public function createService(ServiceLocatorInterface $serviceLocator) |
| 42 | 42 | { |