PHP - Data Type

> Procedural Languages > Php

1 - Describing an unknown variable

When a variable is unknown to an IDE (phpStorm), by adding a phpdoc comments describing it, allows PhpStorm to discover type information and provide with a complete accurate auto completing information

Example:

/** @var Request $request */
$request = $this->get("request");
 
$request->