Added explicit return type because PhpStorm wouldnt infer it, and removed useless class import.