Skip to content

Fix incorrect spellings & capitalizations#550

Open
kingIZZZY wants to merge 1 commit intointuit:masterfrom
kingIZZZY:patch-1
Open

Fix incorrect spellings & capitalizations#550
kingIZZZY wants to merge 1 commit intointuit:masterfrom
kingIZZZY:patch-1

Conversation

@kingIZZZY
Copy link
Copy Markdown
Contributor

Repetitive code has mistakes trying to find array value by varying key spellings & capitalizations:

        } else if(array_key_exists('redirecturi', $settings)){ // ends with "I"
            return $settings['redirecturl'];                   // end with "L"
        } else if(array_key_exists('redirectUri', $settings)){ // ends with "I"
            return $settings['redirectUrl'];                   // end with "L"

Replaced logic with standardized util method to eliminate such mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant