Closed lukasra92 closed 2 years ago
The fetch() method returns an array, but $recordCollection->addRecord() expects an int as 2nd parameter. Furthermore, fetch() has been deprecated in DBAL 2.11. Therefore, fetchAssociative should probably be used here.
Resolves https://github.com/in2code-de/in2publish_core/issues/89
@lukasra92 thank you for your PR :partying_face:
The fetch() method returns an array, but $recordCollection->addRecord() expects an int as 2nd parameter. Furthermore, fetch() has been deprecated in DBAL 2.11. Therefore, fetchAssociative should probably be used here.
Resolves https://github.com/in2code-de/in2publish_core/issues/89