You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespace Phalcon\Db;
use Phalcon\Db\Profiler\Item;
class Profiler
{
/**
* Returns all the processed profiles
*/
public function getProfiles() -> <Item[]>
{
return this->allProfiles;
}
}
It results in
/**
* Returns all the processed profiles
*
* @return array
*/
public function getProfiles(): array
{
}
If possible we would like to generate the following stub.
/**
* Returns all the processed profiles
*
* @return Phalcon\Db\Profiler\Item[]
*/
public function getProfiles(): array
{
}
The text was updated successfully, but these errors were encountered:
ruudboon
changed the title
[NFR] Return type hint for arrays when generating stubs
[NFR] Improve type hint for arrays when generating stubs
Dec 11, 2019
When generating a stub for the following code
It results in
If possible we would like to generate the following stub.
See ruudboon/phpstorm-phalcon-4-autocomplete#1
The text was updated successfully, but these errors were encountered: