Named arguments:

test(named_argument) -> test(named_argument: )

Array shape

<?php
/** @var array{name:string,age:int} */
$shape = [];

$shape[n];  // it work! it trigger 'name'

$shape[''];  // -> not work, should trigger autocomplete all keys

    ging-dev Thank you, implemented.

    The feature(s) will be available within the next pre-release, and release.

      Write a Reply...