mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-22 21:34:28 +02:00
ConfigObject#get(): reduce code complexity
and save a few CPU cycles.
This commit is contained in:
parent
874af33d81
commit
2fcee6a073
@ -223,7 +223,7 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
|
|||||||
return $this->data[$key];
|
return $this->data[$key];
|
||||||
}
|
}
|
||||||
|
|
||||||
return $default !== null ? $default : null;
|
return $default;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user