I've noticed that some code analyzers comment that the type of data
returned by my functions is "unknown" in the following syntax:
function fnFooBar($aryPa rameters) {
$bRetVal = True;
return $bRetVal;
}
I *think* I can specify that by doing something like this:
function fnFooBar($aryPa rameters) bool {
$bRetVal = true;
return $bRetVal;
}
Is this correct?
If so, is there a performance gain, or is it just clean coding?