@@ -25,7 +25,7 @@ |
||
25 | 25 | /** |
26 | 26 | * Returns column collection (readonly). |
27 | 27 | * |
28 | - * @return Column[]|ObjectCollectionReadInterface |
|
28 | + * @return \Nayjest\Collection\Extended\ObjectCollection |
|
29 | 29 | */ |
30 | 30 | public function getColumns() |
31 | 31 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | $this->id = 'page_totals_row'; |
61 | 61 | $this->destinationParentId = 'list_container'; |
62 | 62 | $this->operations = $operations; |
63 | - $this->dataCollectingCallback = function () { |
|
63 | + $this->dataCollectingCallback = function() { |
|
64 | 64 | if ($this->stopDataCollecting) { |
65 | 65 | return; |
66 | 66 | } |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | $this->totalData->$field = 0; |
140 | 140 | } |
141 | 141 | $operation = $this->getOperation($field); |
142 | - switch($operation) { |
|
142 | + switch ($operation) { |
|
143 | 143 | case self::OPERATION_SUM: |
144 | 144 | $this->totalData->$field += $value; |
145 | 145 | break; |
@@ -112,7 +112,7 @@ |
||
112 | 112 | |
113 | 113 | public function attachToCompound(Compound $root) |
114 | 114 | { |
115 | - $root->children()->add(new DataView(function () { |
|
115 | + $root->children()->add(new DataView(function() { |
|
116 | 116 | if ($this->inputOption->hasValue()) { |
117 | 117 | $this->renderCsv(); |
118 | 118 | } |
@@ -88,7 +88,7 @@ |
||
88 | 88 | ) |
89 | 89 | ) |
90 | 90 | ); |
91 | - return compact('asc','desc'); |
|
91 | + return compact('asc', 'desc'); |
|
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | <small style="white-space: nowrap"> |
3 | 3 | <a |
4 | 4 | title="Sort ascending" |
5 | - <?php if($order === 'asc'): ?> |
|
5 | + <?php if ($order === 'asc'): ?> |
|
6 | 6 | style="text-decoration: none; color: green;" |
7 | 7 | <?php else: ?> |
8 | 8 | style="text-decoration: none; color:dodgerblue;" |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | </a> |
14 | 14 | <a |
15 | 15 | title="Sort descending" |
16 | - <?php if($order === 'desc'): ?> |
|
16 | + <?php if ($order === 'desc'): ?> |
|
17 | 17 | style="text-decoration: none; color: green;" |
18 | 18 | <?php else: ?> |
19 | 19 | style="text-decoration: none; color:dodgerblue;" |