@@ -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(); |