| @@ -80,7 +80,7 @@ | ||
| 80 | 80 | $this->classListeners[$eventName][$loweredClass][$format] = $this->initializeListeners($eventName, $loweredClass, $format); | 
| 81 | 81 | } | 
| 82 | 82 | |
| 83 | - return !!$this->classListeners[$eventName][$loweredClass][$format]; | |
| 83 | + return ! ! $this->classListeners[$eventName][$loweredClass][$format]; | |
| 84 | 84 | } | 
| 85 | 85 | |
| 86 | 86 | public function dispatch($eventName, $class, $format, Event $event) | 
| @@ -83,16 +83,16 @@ | ||
| 83 | 83 | $addition = ''; | 
| 84 | 84 | |
| 85 | 85 |          $lines = explode("\n", $content); | 
| 86 | -        for ($i=0,$c=count($lines); $i<$c; $i++) { | |
| 86 | +        for ($i = 0, $c = count($lines); $i < $c; $i++) { | |
| 87 | 87 | if ($this->indentationLevel > 0 | 
| 88 | - && !empty($lines[$i]) | |
| 88 | + && ! empty($lines[$i]) | |
| 89 | 89 |                  && ((empty($addition) && "\n" === substr($this->content, -1)) || "\n" === substr($addition, -1))) { | 
| 90 | 90 |                  $addition .= str_repeat(' ', $this->indentationLevel * $this->indentationSpaces); | 
| 91 | 91 | } | 
| 92 | 92 | |
| 93 | 93 | $addition .= $lines[$i]; | 
| 94 | 94 | |
| 95 | -            if ($i+1 < $c) { | |
| 95 | +            if ($i + 1 < $c) { | |
| 96 | 96 | $addition .= "\n"; | 
| 97 | 97 | } | 
| 98 | 98 | } |