pre parser for php
composer require cryptocompress/prehparser:dev-master
require_once 'vendor/autoload.php';
\PreHParser\Loader::register();
Now your can omit implements on class definition and write typehints after the variable.
See LoaderTest.php and PupilId.php.