I'm new at phpstorm and still trying to figure out some parts of it. Coming from notepad++ and ST now I'm having doubts about PhpDoc.
Using package Monolog ("monolog/monolog":"1.*") I'm overwritting \Monolog\Logger, method addRecord so $message can be either a string, a json or an ArraybleInterface object. The first thing I noticed was phpstorm is duplicating my @params attribute
I tried something different: define @method attribute at class level to point out the changes but phpstorm seems to have problems recognizing "string" (appending class' namespace) and I loose method text description
* Class Logger
* @method bool info(array|string $message, array $context = array())
* @package Core\Log
class Logger extends \Monolog\Logger
Using [Ctrl]+[P] to display attributes (
No method description
So, I know I should create a method like `mixedInfo($message, $context)` that defines all kinds of parameters in its phpdoc, but this isn't java right?. Or am I being lazy and shouldn't be programming this way and phpstorm constraints me from being evil?