9 april 2022 PhpStorm - Missing return argument Missing return argument return; If the return argument is mixed and not only void use: return null;