The expression self::scopedAll($params, $options); of type Arcanedev\Stripe\StripeO...Stripe\Collection|array adds the type array to the return on line 55 which is incompatible with the return type declared by the interface Arcanedev\Stripe\Contrac...urces\ExchangeRate::all of type Arcanedev\Stripe\Collection.