diff --git a/src/Paginator.php b/src/Paginator.php index 2fe6c40..51131b1 100644 --- a/src/Paginator.php +++ b/src/Paginator.php @@ -334,7 +334,7 @@ public function __toString() */ public function setCacheEnabled($enable) { - $this->cacheEnabled = (bool)$enable; + $this->cacheEnabled = (bool) $enable; return $this; } @@ -719,7 +719,7 @@ public function getPageItemCache() $tags = self::$cache->getTags($key); if ($tags && in_array($this->_getCacheInternalId(), $tags)) { if (substr($key, 0, $prefixLength) == self::CACHE_TAG_PREFIX) { - $data[(int)substr($key, $prefixLength)] = $value; + $data[(int) substr($key, $prefixLength)] = $value; } } }