mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix return type
This commit is contained in:
parent
a03f6ee047
commit
754db8b6ca
|
|
@ -112,10 +112,10 @@ class CachePool implements OptionsInterface
|
|||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function get(string $key)
|
||||
public function get(string $key) /* : ?CacheInterface */
|
||||
{
|
||||
if (!isset($this->pool[$key])) {
|
||||
return false;
|
||||
return null;
|
||||
}
|
||||
|
||||
return $this->pool[$key];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user