Check for "indexes" key in Configuration::getNestings()
This commit is contained in:
parent
8ffd1a7c3d
commit
4b4a56db1e
1 changed files with 4 additions and 0 deletions
|
|
@ -363,6 +363,10 @@ class Configuration implements ConfigurationInterface
|
||||||
*/
|
*/
|
||||||
protected function getNestings()
|
protected function getNestings()
|
||||||
{
|
{
|
||||||
|
if (!isset($this->configArray[0]['indexes'])) {
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
$nestings = array();
|
$nestings = array();
|
||||||
foreach ($this->configArray[0]['indexes'] as $index) {
|
foreach ($this->configArray[0]['indexes'] as $index) {
|
||||||
if (empty($index['types'])) {
|
if (empty($index['types'])) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue