For functions that accepts passing variables by reference Neutron will throw NoArgumentType error.
Simple example:
/**
* Undocumented function
*
* @param int $foo Foo.
* @return integer
*/
function any_function( int &$foo ) : int {
return 1;
}
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
21 | WARNING | Argument type is missing
| | (NeutronStandard.Functions.TypeHint.NoArgumentType)
---------------------------------------------------------------------------------------------
For functions that accepts passing variables by reference Neutron will throw
NoArgumentType
error.Simple example: