Php - Idea

Type

Idea understand the type through the comments:

  • function:
/**
 * @return My_Type
 */
function myFunction() {
    return my_Type();
}
  • Variable
/**
 *
 * @var My_Type $_myProperty
 */
private $_myProperty;
  • Variable Array
/**
* @var ClassName[] $myVar
*/

Support

Cannot find declaration to go to

Be sure that you have added the type in your php comments


Powered by ComboStrap