We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4419022 commit d49a657Copy full SHA for d49a657
src/Snowflake/Store/FileStore.php
@@ -7,7 +7,8 @@
7
8
class FileStore implements StoreInterface
9
{
10
- public function __construct($cacheDir)
+ private string $cacheDir;
11
+ public function __construct(string $cacheDir)
12
13
$this->cacheDir = $cacheDir;
14
src/Snowflake/Store/RedisStore.php
@@ -7,10 +7,10 @@
class RedisStore implements StoreInterface
- private $backend;
- public function __construct(\Redis $redis)
+ private \Redis $backend;
+ public function __construct(\Redis $backend)
- $this->backend = $redis;
+ $this->backend = $backend;
}
15
16
private function getLuaScript()
0 commit comments