Skip to content

Commit

Permalink
feat(STEUN-409): prevent deprecated passing null as string for php 8
Browse files Browse the repository at this point in the history
  • Loading branch information
wimvdputten committed May 30, 2023
1 parent 79a2774 commit 0e78511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RowModifier/ExternalCategoryManagement.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,6 @@ private function extractCategoriesFromString($categories)
{
return array_filter(array_map(function ($category) {
return trim($category, " \t\n\r\0\x0B/");
}, explode(',', trim($categories, " \t\n\r\0\x0B/"))));
}, explode(',', trim($categories ?? '', " \t\n\r\0\x0B/"))));
}
}

0 comments on commit 0e78511

Please sign in to comment.