Typehinting $array as array
Adding ResolverInterface and implementing