| @@ -14,6 +14,7 @@ discard block | ||
| 14 | 14 | * - ... | 
| 15 | 15 | * | 
| 16 | 16 | * @param mixed $data | 
| 17 | + * @return void | |
| 17 | 18 | */ | 
| 18 | 19 | public function __construct($data); | 
| 19 | 20 | |
| @@ -34,7 +35,8 @@ discard block | ||
| 34 | 35 | /** | 
| 35 | 36 | * Set the columns | 
| 36 | 37 | * | 
| 37 | - * @param array $columns | |
| 38 | + * @param Column\AbstractColumn[] $columns | |
| 39 | + * @return void | |
| 38 | 40 | */ | 
| 39 | 41 | public function setColumns(array $columns); | 
| 40 | 42 | |
| @@ -43,12 +45,14 @@ discard block | ||
| 43 | 45 | * | 
| 44 | 46 | * @param Column\AbstractColumn $column | 
| 45 | 47 | * @param string $sortDirection | 
| 48 | + * @return void | |
| 46 | 49 | */ | 
| 47 | 50 | public function addSortCondition(Column\AbstractColumn $column, $sortDirection = 'ASC'); | 
| 48 | 51 | |
| 49 | 52 | /** | 
| 50 | 53 | * | 
| 51 | - * @param Filter $filters | |
| 54 | + * @param Filter $filter | |
| 55 | + * @return void | |
| 52 | 56 | */ | 
| 53 | 57 | public function addFilter(Filter $filter); | 
| 54 | 58 | |
| @@ -18,7 +18,7 @@ | ||
| 18 | 18 | /** | 
| 19 | 19 | * Data source | 
| 20 | 20 | * | 
| 21 | - * @param mixed $data | |
| 21 | + * @param ORM\QueryBuilder $data | |
| 22 | 22 | */ | 
| 23 | 23 | public function __construct($data) | 
| 24 | 24 |      { | 
| @@ -24,7 +24,7 @@ | ||
| 24 | 24 | /** | 
| 25 | 25 | * Data source | 
| 26 | 26 | * | 
| 27 | - * @param mixed $data | |
| 27 | + * @param Collection $data | |
| 28 | 28 | */ | 
| 29 | 29 | public function __construct($data) | 
| 30 | 30 |      { | 
| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | /** | 
| 35 | 35 | * | 
| 36 | 36 | * @param array $data | 
| 37 | - * @param array $columns | |
| 37 | + * @param Column\AbstractColumn[] $columns | |
| 38 | 38 | */ | 
| 39 | 39 | public function __construct(array $data, array $columns) | 
| 40 | 40 |      { | 
| @@ -29,7 +29,7 @@ | ||
| 29 | 29 | |
| 30 | 30 | /** | 
| 31 | 31 | * | 
| 32 | - * @return \Zend\View\Model\ViewModel | |
| 32 | + * @return ResponseStream | |
| 33 | 33 | */ | 
| 34 | 34 | public function execute() | 
| 35 | 35 |      { | 
| @@ -13,7 +13,7 @@ | ||
| 13 | 13 | * Create and return the MVC controller plugin manager | 
| 14 | 14 | * | 
| 15 | 15 | * @param ServiceLocatorInterface $serviceLocator | 
| 16 | - * @return FormElementManager | |
| 16 | + * @return \Zend\ServiceManager\AbstractPluginManager | |
| 17 | 17 | */ | 
| 18 | 18 | public function createService(ServiceLocatorInterface $serviceLocator) | 
| 19 | 19 |      { | 
| @@ -63,7 +63,7 @@ discard block | ||
| 63 | 63 | |
| 64 | 64 | /** | 
| 65 | 65 | * | 
| 66 | - * @param $name | |
| 66 | + * @param string $name | |
| 67 | 67 | */ | 
| 68 | 68 | public function setLabel($name) | 
| 69 | 69 |      { | 
| @@ -82,7 +82,7 @@ discard block | ||
| 82 | 82 | |
| 83 | 83 | /** | 
| 84 | 84 | * | 
| 85 | - * @param $id | |
| 85 | + * @param string $id | |
| 86 | 86 | */ | 
| 87 | 87 | public function setUniqueId($id) | 
| 88 | 88 |      { | 
| @@ -91,7 +91,7 @@ discard block | ||
| 91 | 91 | |
| 92 | 92 | /** | 
| 93 | 93 | * | 
| 94 | - * @return mixed | |
| 94 | + * @return string|null | |
| 95 | 95 | */ | 
| 96 | 96 | public function getUniqueId() | 
| 97 | 97 |      { | 
| @@ -447,7 +447,7 @@ discard block | ||
| 447 | 447 | |
| 448 | 448 | /** | 
| 449 | 449 | * | 
| 450 | - * @param mixed $value | |
| 450 | + * @param string $value | |
| 451 | 451 | */ | 
| 452 | 452 | public function setFilterActive($value = '') | 
| 453 | 453 |      { | 
| @@ -185,7 +185,7 @@ discard block | ||
| 185 | 185 | /** | 
| 186 | 186 | * Calculates the column width, based on the papersize and orientation | 
| 187 | 187 | * | 
| 188 | - * @param array $cols | |
| 188 | + * @param \ZfcDatagrid\Column\AbstractColumn[] $cols | |
| 189 | 189 | */ | 
| 190 | 190 | protected function calculateColumnWidth(array $cols) | 
| 191 | 191 |      { | 
| @@ -410,7 +410,7 @@ discard block | ||
| 410 | 410 | * @param string $imageData | 
| 411 | 411 | * @param number $maxWidth | 
| 412 | 412 | * @param number $maxHeight | 
| 413 | - * @return array | |
| 413 | + * @return double[] | |
| 414 | 414 | */ | 
| 415 | 415 | protected function calcImageSize($imageData, $maxWidth, $maxHeight) | 
| 416 | 416 |      { | 
| @@ -764,7 +764,7 @@ discard block | ||
| 764 | 764 | } | 
| 765 | 765 | |
| 766 | 766 | /** | 
| 767 | - * @return Action\Mass[] | |
| 767 | + * @return Action\Mass | |
| 768 | 768 | */ | 
| 769 | 769 | public function getMassActions() | 
| 770 | 770 |      { | 
| @@ -1158,7 +1158,7 @@ discard block | ||
| 1158 | 1158 | * | 
| 1159 | 1159 | * @param ContainerInterface $serviceLocator | 
| 1160 | 1160 | * | 
| 1161 | - * @return mixed | |
| 1161 | + * @return Datagrid | |
| 1162 | 1162 | */ | 
| 1163 | 1163 | public function setServiceLocator(ContainerInterface $serviceLocator) | 
| 1164 | 1164 |      { |