How should i reference on a PHPdoc block that if the variable is not present it will check a dotenv setting for it?
/**
* Class constructor.
*
* Created Class Object.
*
* @param null $url - access url for api
*/
public function __construct($url = null)
{
if (! isset($url)) {
$url = env('CLASS_URL', null);
}
}