@@ -156,7 +156,7 @@ |
||
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | 158 | * @param string $eventName |
| 159 | - * @param mixed $receiver |
|
| 159 | + * @param \Closure $receiver |
|
| 160 | 160 | * @param integer $priority |
| 161 | 161 | * @return self |
| 162 | 162 | */ |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | |
| 75 | 75 | $value = (string) $value; |
| 76 | 76 | $pieces = explode(':', $matches[1]); |
| 77 | - if (1 < count($pieces) && 1 !== preg_match('~' . $pieces[1] . '~', $value)) { |
|
| 77 | + if (1 < count($pieces) && 1 !== preg_match('~'.$pieces[1].'~', $value)) { |
|
| 78 | 78 | continue; |
| 79 | 79 | } |
| 80 | 80 | |