mirror of
https://github.com/danog/parallel.git
synced 2024-11-26 12:24:40 +01:00
Fix Environment (#92)
This commit is contained in:
parent
ca636dcea0
commit
e9326379f3
@ -116,7 +116,7 @@ interface Environment implements \ArrayAccess
|
||||
/**
|
||||
* @param string $key
|
||||
* @param mixed $value Using null for the value deletes the key.
|
||||
* @param int $ttl Number of seconds until data is automatically deleted. Use 0 for unlimited TTL.
|
||||
* @param int $ttl Number of seconds until data is automatically deleted. Use null for unlimited TTL.
|
||||
*/
|
||||
public function set(string $key, $value, int $ttl = null);
|
||||
|
||||
|
@ -21,7 +21,7 @@ interface Environment extends \ArrayAccess
|
||||
/**
|
||||
* @param string $key
|
||||
* @param mixed $value Using null for the value deletes the key.
|
||||
* @param int $ttl Number of seconds until data is automatically deleted. Use 0 for unlimited TTL.
|
||||
* @param int $ttl Number of seconds until data is automatically deleted. Use null for unlimited TTL.
|
||||
*/
|
||||
public function set(string $key, $value, int $ttl = null);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user