Skip to content
Snippets Groups Projects
Commit bec716bf authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix NullableReturnStatement

parent cca39b2b
Branches
Tags
No related merge requests found
...@@ -68,9 +68,9 @@ class RedisTest extends TestCase ...@@ -68,9 +68,9 @@ class RedisTest extends TestCase
/** /**
* @param string $key * @param string $key
* @return \Predis\Client * @return \Predis\Client|null
*/ */
public function getMocked($key) public function getMocked(string $key)
{ {
return array_key_exists($key, $this->config) ? $this->config[$key] : null; return array_key_exists($key, $this->config) ? $this->config[$key] : null;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment