Ivan Shcherbak
Ivan Shcherbak
You can specify the return type. For example, specify `void` for the `execute` method and `self` for the `configure`. Why you don't want to add return types to the implemented...
I think QF should add return type only in the concrete method, not to the interface. I can`t reproduce this behavior: `Alt+enter` -> hit `enter`. Then QF specifies `:void` in...
IMHO =) ```php if($strictly_an_array === []){ } ```
@rentalhost why we should use protected properties? We can use methods instead of properties. IMHO Properties should always be private =)
What about redundant doc comment? ```php /** * @param string $name */ function show(string $name) : void { echo trim($name); } ``` I think this comment can be safely dropped...
We add tag `@see` it is better because value of this tag is resolved and we can immediately go to element (method, class)
FQR - full qualify resource ? ;) I do not know this abbreviation :-| ``` /** * @deprecated since 0.15 use {@link \stdClass}
Do you store `.idea/codeStyles` in the project? CodeStyle can be configured per project. Just select a specific schema. Go to `Settings -> Editor -> Code style -> Php ` and...
You need to create 2 different schemas. For example `WP Code style` and `Laravel Code style`. Then select the proper one for the project. And changing one schema - will...
Oops. Sorry about that. I forgot that this configuration is moved from code style schema.