You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* Set the string value in argument as value of the key.
*
* @param string $key
* @param string $value
* @param int $timeout [optional] Calling setex() is preferred if you want a timeout.
* @return bool TRUE if the command is successful.
* @link http://redis.io/commands/set
* @example $redis->set('key', 'value');
*/
public function set( $key, $value, $timeout = 0 ) {}
"string $value" should be replaced with "mixed $value". For now I get false-positive "expected string" in inspections.
Activity
ukko commentedon May 17, 2017
Thanks, will fix soon
exussum12 commentedon Jul 17, 2019
Any update on this ? the phpstorm stubs are incorrect due to this also
Fix set type in set & get commands #31
Merge pull request #54 from ukko/issue-31-value-types-and-formatting