@@ -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 | } |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | - * @param UI\ComponentReflection|UI\MethodReflection $element |
|
| 74 | + * @param \Reflector $element |
|
| 75 | 75 | * |
| 76 | 76 | * @return bool |
| 77 | 77 | * |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | - * @param UI\ComponentReflection|UI\MethodReflection $element |
|
| 110 | + * @param \Reflector $element |
|
| 111 | 111 | * |
| 112 | 112 | * @return bool |
| 113 | 113 | * |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | /** |
| 150 | - * @param UI\ComponentReflection|UI\MethodReflection $element |
|
| 150 | + * @param \Reflector $element |
|
| 151 | 151 | * |
| 152 | 152 | * @return bool |
| 153 | 153 | * |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | /** |
| 184 | - * @param UI\ComponentReflection|UI\MethodReflection $element |
|
| 184 | + * @param \Reflector $element |
|
| 185 | 185 | * |
| 186 | 186 | * @return bool |
| 187 | 187 | */ |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | /** |
| 219 | - * @param UI\ComponentReflection|UI\MethodReflection $element |
|
| 219 | + * @param \Reflector $element |
|
| 220 | 220 | * |
| 221 | 221 | * @return bool |
| 222 | 222 | */ |