diff --git a/CHANGELOG.md b/CHANGELOG.md index 16863c552..221eb3c80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to the solarium library will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [5.1.3] +### Fixed +- Solarium\Component\ResponseParser\Debug fails on Solr Cloud 6.x during extracting timing phases + ## [5.1.2] ### Fixed - BufferedAdd does not support Symfony event dispatcher diff --git a/src/Component/ResponseParser/Debug.php b/src/Component/ResponseParser/Debug.php index 59a02de09..960a1152e 100644 --- a/src/Component/ResponseParser/Debug.php +++ b/src/Component/ResponseParser/Debug.php @@ -63,8 +63,9 @@ public function parse(?ComponentAwareQueryInterface $query, ?AbstractComponent $ case 'time': $time = $timingData; break; - default: + case is_array($timingData): $timingPhases[$key] = $this->parseTimingPhase($key, $timingData); + break; } } $timing = new Timing($time, $timingPhases);