Indention looks wrong and new line is missing at the end of the file. Please consider running php-cs-fixer.