File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ CHANGELOG for 6.0.x
44This changelog references the relevant changes (bug and security fixes) done
55in 6.0 versions.
66
7+ ### 6.0.0-RC1 (2021-xx-xx)
8+
9+ * ** [ BC break] ** Signature of ` FOS\ElasticaBundle\Configuration\Source\SourceInterface::getConfiguration() ` has changed.
10+
711### 6.0.0-BETA4 (2021-05-24)
812
913* Added PHP 8 support,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function __construct(array $configArray)
3535 *
3636 * @return IndexConfig[]
3737 */
38- public function getConfiguration ()
38+ public function getConfiguration (): array
3939 {
4040 $ indexes = [];
4141 foreach ($ this ->configArray as $ config ) {
Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ interface SourceInterface
2222 *
2323 * @return \FOS\ElasticaBundle\Configuration\IndexConfig[]
2424 */
25- public function getConfiguration ();
25+ public function getConfiguration (): array ;
2626}
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function __construct(array $configArray)
3535 *
3636 * @return IndexTemplateConfig[]
3737 */
38- public function getConfiguration ()
38+ public function getConfiguration (): array
3939 {
4040 $ indexes = [];
4141 foreach ($ this ->configArray as $ config ) {
You can’t perform that action at this time.
0 commit comments