Replies: 1 comment 4 replies
-
|
Hi π,
Every other command is invoked via the Line 232 in c563c8c So the methods are defined in that you can call any method that I'm not sure what the best practices would be here vis-a-vis the stubs. Defining them in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hey there π
before I create an issue, I would like to know, if I get something wrong, or if there really is an issue π
In our project, we are using \Symfony\Component\Cache\Traits\RedisTrait::createConnection (via \Symfony\Component\Cache\Adapter\RedisAdapter) to create a Redis connection.
The return type also includes
\RedisArraywhich is provided by this extension.We now want to update PHPStan in our project (which we didn't in a while) and it is now complaining about unknown methods.
The reason was this change JetBrains/phpstorm-stubs#1772
Now I wonder, if those four methods (the only ones we are using, there might be more) are really not existing on
\RedisArrayor if they are just missing in the stub file.Thanks in advance for the help
Best regards
Beta Was this translation helpful? Give feedback.
All reactions