@@ -26,8 +26,8 @@ |
||
26 | 26 | |
27 | 27 | $matches = []; |
28 | 28 | \preg_match_all( |
29 | - self::REGEX_DELIMITER.\str_replace(self::REGEX_DELIMITER, '\\'.self::REGEX_DELIMITER, |
|
30 | - $regex).self::REGEX_DELIMITER, |
|
29 | + self::REGEX_DELIMITER . \str_replace(self::REGEX_DELIMITER, '\\' . self::REGEX_DELIMITER, |
|
30 | + $regex) . self::REGEX_DELIMITER, |
|
31 | 31 | $text, |
32 | 32 | $matches |
33 | 33 | ); |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | $this->_maxRequestCount = $maxRequests ?? self::DEFAULT_MAX_REQUESTS; |
47 | 47 | $requestInterval = $requestIntervalSeconds ?? self::DEFAULT_REQUEST_INTERVAL; |
48 | 48 | |
49 | - $this->_storageKey = $this->_maxRequestCount . '_' . $requestInterval; |
|
49 | + $this->_storageKey = $this->_maxRequestCount . '_' . $requestInterval; |
|
50 | 50 | $this->_restoreState($requestInterval); |
51 | 51 | } |
52 | 52 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | $scheme = $uri->getScheme(); |
149 | 149 | if (!empty($host) && !empty($scheme)) |
150 | 150 | { |
151 | - $host = $scheme . '://' . $host.$uri->getPath(); |
|
151 | + $host = $scheme . '://' . $host . $uri->getPath(); |
|
152 | 152 | } else |
153 | 153 | { |
154 | 154 | $host = $uri->getPath(); |