@@ -50,6 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * {@inheritDoc} |
| 53 | + * @param string $scope |
|
| 53 | 54 | */ |
| 54 | 55 | public static function onEvent( |
| 55 | 56 | $scope, |
@@ -67,6 +68,7 @@ discard block |
||
| 67 | 68 | |
| 68 | 69 | /** |
| 69 | 70 | * {@inheritDoc} |
| 71 | + * @param string $scope |
|
| 70 | 72 | */ |
| 71 | 73 | public static function offEvent( |
| 72 | 74 | $scope, |
@@ -184,7 +184,7 @@ |
||
| 184 | 184 | */ |
| 185 | 185 | protected function fixPriority(/*# int */ $priority)/*# : int */ |
| 186 | 186 | { |
| 187 | - return (int)($priority > 100 ? 100 : ($priority < -100 ? -100 : $priority)); |
|
| 187 | + return (int) ($priority > 100 ? 100 : ($priority < -100 ? -100 : $priority)); |
|
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | /** |