@@ -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 | { |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * @see https://github.com/zfdatagrid/grid/blob/master/library/Bvb/Grid.php#L1438 |
| 87 | 87 | * |
| 88 | 88 | * @param string $inputFilterValue |
| 89 | - * @param mixed $defaultOperator |
|
| 89 | + * @param string $defaultOperator |
|
| 90 | 90 | * |
| 91 | 91 | * @return array |
| 92 | 92 | */ |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * @param $row |
| 45 | - * @param bool|true $open |
|
| 45 | + * @param boolean $open |
|
| 46 | 46 | * |
| 47 | 47 | * @return string |
| 48 | 48 | */ |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | - * @return Doctrine2Paginator|ZfcDatagridPaginator |
|
| 68 | + * @return integer |
|
| 69 | 69 | */ |
| 70 | 70 | private function getPaginator() |
| 71 | 71 | { |
@@ -296,7 +296,7 @@ |
||
| 296 | 296 | * Calculates the column width, based on the papersize and orientation. |
| 297 | 297 | * |
| 298 | 298 | * @param \PHPExcel_Worksheet $sheet |
| 299 | - * @param array $columns |
|
| 299 | + * @param Column\AbstractColumn[] $columns |
|
| 300 | 300 | */ |
| 301 | 301 | protected function calculateColumnWidth(\PHPExcel_Worksheet $sheet, array $columns) |
| 302 | 302 | { |
@@ -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 | { |