declaration needs two * in order not to create phpdoc errors