Skip to content

Guard against null being returned.#2

Open
Lewiscowles1986 wants to merge 1 commit intoshaggy8871:masterfrom
Lewiscowles1986:patch-2
Open

Guard against null being returned.#2
Lewiscowles1986 wants to merge 1 commit intoshaggy8871:masterfrom
Lewiscowles1986:patch-2

Conversation

@Lewiscowles1986
Copy link

using defaults, enable the same exception as was used for JSON, to be used for YAML

move the check for JSON so that undefined types result in error case always (rather than defaulting to JSON decode with 'Unknown' as the outcome from non-js/json file extension

Fixes #1

using defaults, enable the same exception as was used for JSON, to be used for YAML

move the check for JSON so that undefined types result in error case always (rather than defaulting to JSON decode with 'Unknown' as the outcome from non-js/json file extension

Fixes shaggy8871#1
@Lewiscowles1986 Lewiscowles1986 changed the title Update RxLoader.php Guard against null being returned. Aug 26, 2019
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.

Throw exception if parsing null

3 participants