Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlemore metadata
linenumberstrue
languagephp
<?php
 
//below is the example of couple more meta expressions bundled into PhpStorm for better standard library support
 
override(\array_filter(0), type(0)); //suppose first parameter type is MyClass[] then return type of array_filter will be MyClass[]
override(\array_reduce(0), elementType(0)); //suppose first parameter type is MyClass[] then return type of array_reduce will be MyClass 

 

Packaging metadata/stub files into plugin

...