@@ -21,7 +21,7 @@ |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | /** |
24 | - * @param $format |
|
24 | + * @param string $format |
|
25 | 25 | * @return void |
26 | 26 | */ |
27 | 27 | public function setFormat($format) |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace AtDataGrid\Column\Decorator; |
4 | 4 | |
5 | -use Zend\Db\Sql\Select; |
|
6 | 5 | use Zend\Db\Sql\Sql; |
7 | 6 | |
8 | 7 | class DbReference extends AbstractDecorator |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | // METADATA |
115 | 115 | |
116 | 116 | /** |
117 | - * @param $title |
|
117 | + * @param string $title |
|
118 | 118 | * @return $this |
119 | 119 | */ |
120 | 120 | public function setTitle($title) |
@@ -367,7 +367,7 @@ discard block |
||
367 | 367 | } |
368 | 368 | |
369 | 369 | /** |
370 | - * @return mixed |
|
370 | + * @return string|null |
|
371 | 371 | */ |
372 | 372 | public function getOrderDirection() |
373 | 373 | { |
@@ -109,7 +109,7 @@ |
||
109 | 109 | /** |
110 | 110 | * @param $order |
111 | 111 | * @param array $filters |
112 | - * @return $this|mixed |
|
112 | + * @return QueryBuilder |
|
113 | 113 | */ |
114 | 114 | public function prepare($order, $filters = []) |
115 | 115 | { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | |
122 | 122 | /** |
123 | 123 | * @param bool $flag |
124 | - * @return DataGrid |
|
124 | + * @return Manager |
|
125 | 125 | */ |
126 | 126 | public function setAllowCreate($flag = true) |
127 | 127 | { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * Alias for setAllowCreate |
134 | 134 | * |
135 | 135 | * @param bool $flag |
136 | - * @return DataGrid |
|
136 | + * @return Manager |
|
137 | 137 | */ |
138 | 138 | public function allowCreate($flag = true) |
139 | 139 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | |
152 | 152 | /** |
153 | 153 | * @param bool $flag |
154 | - * @return DataGrid |
|
154 | + * @return Manager |
|
155 | 155 | */ |
156 | 156 | public function setAllowDelete($flag = true) |
157 | 157 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | * Alias for setAllowDelete |
164 | 164 | * |
165 | 165 | * @param bool $flag |
166 | - * @return DataGrid |
|
166 | + * @return Manager |
|
167 | 167 | */ |
168 | 168 | public function allowDelete($flag = true) |
169 | 169 | { |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | |
182 | 182 | /** |
183 | 183 | * @param bool $flag |
184 | - * @return DataGrid |
|
184 | + * @return Manager |
|
185 | 185 | */ |
186 | 186 | public function setAllowEdit($flag = true) |
187 | 187 | { |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | * Alias for setAllowEdit |
194 | 194 | * |
195 | 195 | * @param bool $flag |
196 | - * @return DataGrid |
|
196 | + * @return Manager |
|
197 | 197 | */ |
198 | 198 | public function allowEdit($flag = true) |
199 | 199 | { |