Skip to content

Commit

Permalink
type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
steffen.brand committed Feb 23, 2017
1 parent 4ccef50 commit 76f3be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/CacheConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class CacheConfig {
* @param string $cacheKey Key to use for caching
*/
public function __construct(CacheInterface $cache = null,
$cacheTimeInSeconds = self::CACHE_UNTIL_MIDNIGHT,
$cacheKey = self::DEFAULT_CACHE_KEY)
int $cacheTimeInSeconds = self::CACHE_UNTIL_MIDNIGHT,
string $cacheKey = self::DEFAULT_CACHE_KEY)
{
$this->cache = $cache;
$this->cacheTimeInSeconds = $cacheTimeInSeconds;
Expand Down

0 comments on commit 76f3be4

Please sign in to comment.