@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | protected $formatters = []; |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param $name |
|
| 64 | + * @param string $name |
|
| 65 | 65 | */ |
| 66 | 66 | public function setLabel($name) |
| 67 | 67 | { |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | - * @param $id |
|
| 82 | + * @param string $id |
|
| 83 | 83 | */ |
| 84 | 84 | public function setUniqueId($id) |
| 85 | 85 | { |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | - * @return mixed |
|
| 90 | + * @return string|null |
|
| 91 | 91 | */ |
| 92 | 92 | public function getUniqueId() |
| 93 | 93 | { |
@@ -428,7 +428,7 @@ discard block |
||
| 428 | 428 | } |
| 429 | 429 | |
| 430 | 430 | /** |
| 431 | - * @param mixed $value |
|
| 431 | + * @param string $value |
|
| 432 | 432 | */ |
| 433 | 433 | public function setFilterActive($value = '') |
| 434 | 434 | { |
@@ -15,6 +15,7 @@ discard block |
||
| 15 | 15 | * - ... |
| 16 | 16 | * |
| 17 | 17 | * @param mixed $data |
| 18 | + * @return void |
|
| 18 | 19 | */ |
| 19 | 20 | public function __construct($data); |
| 20 | 21 | |
@@ -35,7 +36,8 @@ discard block |
||
| 35 | 36 | /** |
| 36 | 37 | * Set the columns. |
| 37 | 38 | * |
| 38 | - * @param array $columns |
|
| 39 | + * @param Column\AbstractColumn[] $columns |
|
| 40 | + * @return void |
|
| 39 | 41 | */ |
| 40 | 42 | public function setColumns(array $columns); |
| 41 | 43 | |
@@ -44,11 +46,13 @@ discard block |
||
| 44 | 46 | * |
| 45 | 47 | * @param Column\AbstractColumn $column |
| 46 | 48 | * @param string $sortDirection |
| 49 | + * @return void |
|
| 47 | 50 | */ |
| 48 | 51 | public function addSortCondition(Column\AbstractColumn $column, $sortDirection = 'ASC'); |
| 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 | { |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Data source. |
| 25 | 25 | * |
| 26 | - * @param mixed $data |
|
| 26 | + * @param Collection $data |
|
| 27 | 27 | */ |
| 28 | 28 | public function __construct($data) |
| 29 | 29 | { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * @param array $data |
| 39 | - * @param array $columns |
|
| 39 | + * @param Column\AbstractColumn[] $columns |
|
| 40 | 40 | */ |
| 41 | 41 | public function __construct(array $data, array $columns) |
| 42 | 42 | { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | - * @return \Zend\View\Model\ViewModel |
|
| 30 | + * @return ResponseStream |
|
| 31 | 31 | */ |
| 32 | 32 | public function execute() |
| 33 | 33 | { |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | /** |
| 184 | 184 | * Calculates the column width, based on the papersize and orientation. |
| 185 | 185 | * |
| 186 | - * @param array $cols |
|
| 186 | + * @param \ZfcDatagrid\Column\AbstractColumn[] $cols |
|
| 187 | 187 | */ |
| 188 | 188 | protected function calculateColumnWidth(array $cols) |
| 189 | 189 | { |
@@ -413,7 +413,7 @@ discard block |
||
| 413 | 413 | * @param number $maxWidth |
| 414 | 414 | * @param number $maxHeight |
| 415 | 415 | * |
| 416 | - * @return array |
|
| 416 | + * @return double[] |
|
| 417 | 417 | */ |
| 418 | 418 | protected function calcImageSize($imageData, $maxWidth, $maxHeight) |
| 419 | 419 | { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | * |
| 16 | 16 | * @param ServiceLocatorInterface $serviceLocator |
| 17 | 17 | * |
| 18 | - * @return FormElementManager |
|
| 18 | + * @return \Zend\ServiceManager\AbstractPluginManager |
|
| 19 | 19 | */ |
| 20 | 20 | public function createService(ServiceLocatorInterface $serviceLocator) |
| 21 | 21 | { |