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