Fixed an error that occured when used with PhpStorm