@@ -396,7 +396,7 @@ discard block |
||
| 396 | 396 | foreach ($items as $item) { |
| 397 | 397 | $rows[] = $row = new Row($this, $item, $this->getPrimaryKey()); |
| 398 | 398 | |
| 399 | - if (!$hasGroupActionOnRows && $row->hasGroupAction()){ |
|
| 399 | + if (!$hasGroupActionOnRows && $row->hasGroupAction()) { |
|
| 400 | 400 | $hasGroupActionOnRows = TRUE; |
| 401 | 401 | } |
| 402 | 402 | |
@@ -413,7 +413,7 @@ discard block |
||
| 413 | 413 | } |
| 414 | 414 | } |
| 415 | 415 | |
| 416 | - if ($hasGroupActionOnRows){ |
|
| 416 | + if ($hasGroupActionOnRows) { |
|
| 417 | 417 | $hasGroupActionOnRows = $this->hasGroupActions(); |
| 418 | 418 | } |
| 419 | 419 | |
@@ -2762,7 +2762,7 @@ discard block |
||
| 2762 | 2762 | |
| 2763 | 2763 | if (!($parent instanceof PresenterComponent)) { |
| 2764 | 2764 | throw new DataGridHasToBeAttachedToPresenterComponentException( |
| 2765 | - "DataGrid is attached to: '" . get_class($parent) . "', but instance of PresenterComponent is needed." |
|
| 2765 | + "DataGrid is attached to: '".get_class($parent)."', but instance of PresenterComponent is needed." |
|
| 2766 | 2766 | ); |
| 2767 | 2767 | } |
| 2768 | 2768 | |
@@ -784,7 +784,7 @@ discard block |
||
| 784 | 784 | |
| 785 | 785 | |
| 786 | 786 | /** |
| 787 | - * @param Column $column |
|
| 787 | + * @param Column\Column $column |
|
| 788 | 788 | * @return array |
| 789 | 789 | * @internal |
| 790 | 790 | */ |
@@ -1428,7 +1428,6 @@ discard block |
||
| 1428 | 1428 | |
| 1429 | 1429 | /** |
| 1430 | 1430 | * If we want to sent some initial filter |
| 1431 | - * @param array $filter |
|
| 1432 | 1431 | * @param bool $use_on_reset |
| 1433 | 1432 | * @return static |
| 1434 | 1433 | */ |
@@ -2485,7 +2484,7 @@ discard block |
||
| 2485 | 2484 | |
| 2486 | 2485 | /** |
| 2487 | 2486 | * Set options of select "items_per_page" |
| 2488 | - * @param array $items_per_page_list |
|
| 2487 | + * @param integer[] $items_per_page_list |
|
| 2489 | 2488 | * @return static |
| 2490 | 2489 | */ |
| 2491 | 2490 | public function setItemsPerPageList(array $items_per_page_list, $include_all = TRUE) |
@@ -2804,7 +2803,7 @@ discard block |
||
| 2804 | 2803 | |
| 2805 | 2804 | /** |
| 2806 | 2805 | * Get items detail parameters |
| 2807 | - * @return array |
|
| 2806 | + * @return Column\ItemDetail |
|
| 2808 | 2807 | */ |
| 2809 | 2808 | public function getItemsDetail() |
| 2810 | 2809 | { |
@@ -2878,7 +2877,7 @@ discard block |
||
| 2878 | 2877 | |
| 2879 | 2878 | |
| 2880 | 2879 | /** |
| 2881 | - * @return Nette\Forms\Container|NULL |
|
| 2880 | + * @return Utils\ItemDetailForm|null |
|
| 2882 | 2881 | */ |
| 2883 | 2882 | public function getItemDetailForm() |
| 2884 | 2883 | { |