mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 05:38:39 +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
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function get(string $key)
|
public function get(string $key) /* : ?CacheInterface */
|
||||||
{
|
{
|
||||||
if (!isset($this->pool[$key])) {
|
if (!isset($this->pool[$key])) {
|
||||||
return false;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->pool[$key];
|
return $this->pool[$key];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user