@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | if ($this->fixScriptName) { |
| 146 | 146 | $scriptName = php_sapi_name() === 'cli' |
| 147 | 147 | ? implode(' ', $_SERVER['argv']) |
| 148 | - : ('/' . \Yii::app()->urlManager->parseUrl(\Yii::app()->request)); |
|
| 148 | + : ('/'.\Yii::app()->urlManager->parseUrl(\Yii::app()->request)); |
|
| 149 | 149 | |
| 150 | 150 | $this->setScriptName($scriptName); |
| 151 | 151 | } |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | } |
| 160 | 160 | |
| 161 | 161 | if (!$event[0] instanceof \CComponent) { |
| 162 | - throw new \InvalidArgumentException(var_export($event[0], true) . ' is not string or instance of CComponent'); |
|
| 162 | + throw new \InvalidArgumentException(var_export($event[0], true).' is not string or instance of CComponent'); |
|
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | call_user_func_array([$eventHandler, 'attach'], $event); |
@@ -94,6 +94,6 @@ |
||
| 94 | 94 | */ |
| 95 | 95 | private function timerKey(\CEvent $event, $action) |
| 96 | 96 | { |
| 97 | - return get_class($event->sender) . '@' . $action; |
|
| 97 | + return get_class($event->sender).'@'.$action; |
|
| 98 | 98 | } |
| 99 | 99 | } |
| 100 | 100 | \ No newline at end of file |