src/Bynder/Api/Impl/BynderApi.php
protected static function validateSettings($settings)
    {
        if (!isset($settings['consumerKey']) || !isset($settings['consumerSecret'])) {
            return false;
        }
        $settings['token'] = isset($settings['token']) ? $settings['token'] : null;
        $settings['tokenSecret'] = isset($settings['tokenSecret']) ? $settings['tokenSecret'] : null;

        return $settings;
    }
protected static function validateSettings($settings)
    {
        if (!isset($settings['consumerKey']) || !isset($settings['consumerSecret'])) {
            return false;
        }
        $settings['token'] = isset($settings['token']) ? $settings['token'] : null;
        $settings['tokenSecret'] = isset($settings['tokenSecret']) ? $settings['tokenSecret'] : null;

        return $settings;
    }
protected static function validateSettings ( $ settings ) { if ( ! isset ( $ settings [ 'consumerKey' ] ) || ! isset ( $ settings [ 'consumerSecret' ] ) ) { return false ; } $ settings [ 'token' ] = isset ( $ settings [ 'token' ] ) ? $ settings [ 'token' ] : null ; $ settings [ 'tokenSecret' ] = isset ( $ settings [ 'tokenSecret' ] ) ? $ settings [ 'tokenSecret' ] : null ; return $ settings ; }
Checks if the settings array passed is valid.

@param $settings
@return bool Whether the settings array is valid.
Checks if the settings array passed is valid .