However, why not typehinting the `$resources` to accept `array` only?