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

Fix NullableReturnStatement

parent fbfa7d61
No related branches found
No related tags found
No related merge requests found
......@@ -73,9 +73,9 @@ class RedisTest extends TestCase
/**
* @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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment