php - What is :array for in - private static function name():array -
i know have been answered before don't know terminology use when searching...
phpstorm set method me , added :array
end of declaration line, example,
private static function name():array
never seen :array
before - what's about? return?
cheers!
this php 7 return type declaration. can learn more return type declaration on stackoverflow's documentation
Comments
Post a Comment