You should do the opposite check (``if (!self::$areSupportedAdapters[$name]) {``) to use an early return