@@ -828,7 +828,7 @@ |
||
| 828 | 828 | // Until this can be re-designed, we need this assertion to help static analysis tools. |
| 829 | 829 | assert($this->current_element instanceof ReportBaseElement, new LogicException()); |
| 830 | 830 | |
| 831 | - $this->wt_report = array_pop($this->wt_report_stack); |
|
| 831 | + $this->wt_report = array_pop($this->wt_report_stack); |
|
| 832 | 832 | $this->wt_report->addElement($this->current_element); |
| 833 | 833 | } |
| 834 | 834 | |
@@ -301,7 +301,7 @@ |
||
| 301 | 301 | if ($request->getAttribute('route') === 'tree-page') { |
| 302 | 302 | $tree = $request->getAttribute('tree'); |
| 303 | 303 | assert($tree instanceof Tree, new InvalidArgumentException()); |
| 304 | - $redirect = route('user-page', ['tree' => $tree->name()]); |
|
| 304 | + $redirect = route('user-page', ['tree' => $tree->name()]); |
|
| 305 | 305 | } |
| 306 | 306 | |
| 307 | 307 | // Stay on the same tree page |