I have a problem with return types in php7, specially \"void\".
it works with all other types, int, string, null, bool, class objects.
but when i use void it
tl;dr
Return type void works since PHP 7.1 which is already available.
Working syntax is: