Yes it’s new syntax introduced in PHP 7 to declare the method returns an array.
http://php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration
Yes it’s new syntax introduced in PHP 7 to declare the method returns an array.
http://php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration