Fix PSR-12 compliance in ServiceOptions
- Use 'elseif' construct for PSR-12 compliance Change-Id: I06d16b473b256d3f9c50645ec79d04b9629ea5e7
This commit is contained in:
parent
a2136eb96b
commit
3e495f35c4
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ class ServiceOptions {
|
|||
$this->options[$key] = $source->get( $key );
|
||||
continue 2;
|
||||
}
|
||||
} else {
|
||||
} elseif ( is_array( $source ) ) {
|
||||
if ( array_key_exists( $key, $source ) ) {
|
||||
$this->options[$key] = $source[$key];
|
||||
continue 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue