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

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -