HomePhabricator

Check for parent return value

Authored by Osnard on Feb 13 2019, 10:39 AM.

Description

Check for parent return value

As of [1] the parent method can return null|string|array. This needs to be
considered before using any operator on the value.

NEEDS CHERRY-PICK TO REL1_31

[1] https://github.com/wikimedia/mediawiki-extensions-PageForms/blob/83d5b445674f4b1eb8f794cd4039aa872f920cab/includes/forminputs/PF_TextAreaInput.php#L162

Change-Id: I7ac6f1a09f84bffae224d9dfafccd956be025ebd

Details

Committed
OsnardFeb 13 2019, 10:42 AM
Parents
rEBSSMWCa1a02f119788: Remove RL dependency To ExtJS in ViewMode
Branches
Unknown
Tags
Unknown
References
refs/changes/02/490302/1
ChangeId
I7ac6f1a09f84bffae224d9dfafccd956be025ebd