@@ -85,7 +85,7 @@ |
||
| 85 | 85 | return FALSE; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | - $actionKey = UI\Presenter::ACTION_KEY . ucfirst($action); |
|
| 88 | + $actionKey = UI\Presenter::ACTION_KEY.ucfirst($action); |
|
| 89 | 89 | |
| 90 | 90 | if ($presenterReflection->hasMethod($actionKey) && !$this->requirementsChecker->isAllowed($presenterReflection->getMethod($actionKey))) { |
| 91 | 91 | return FALSE; |
@@ -114,6 +114,6 @@ |
||
| 114 | 114 | */ |
| 115 | 115 | public function macroHref(MacroNode $node, PhpWriter $writer) : string |
| 116 | 116 | { |
| 117 | - return $writer->write(' ?> href="<?php echo %escape(' . ($node->name === 'plink' ? '$_presenter' : '$_control') . '->link(%node.word, %node.array?)) ?>"<?php '); |
|
| 117 | + return $writer->write(' ?> href="<?php echo %escape('.($node->name === 'plink' ? '$_presenter' : '$_control').'->link(%node.word, %node.array?)) ?>"<?php '); |
|
| 118 | 118 | } |
| 119 | 119 | } |
@@ -128,6 +128,6 @@ |
||
| 128 | 128 | */ |
| 129 | 129 | public function __toString() |
| 130 | 130 | { |
| 131 | - return ((string) $this->resource) . self::DELIMITER . $this->privilege; |
|
| 131 | + return ((string) $this->resource).self::DELIMITER.$this->privilege; |
|
| 132 | 132 | } |
| 133 | 133 | } |