fix: psalm

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
Git'Fellow 2025-08-18 11:56:01 +02:00 committed by GitHub
parent aaec698ece
commit 18713e5e9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,7 @@ class Version32000Date20250731062008 extends SimpleMigrationStep {
$duplicateCount = 0;
try {
while ($category = $result->fetchAssociative()) {
while ($category = $result->fetch() !== false) {
$key = $category['uid'] . '|' . $category['type'] . '|' . $category['category'];
$categoryId = (int)$category['id'];