From 8488b42b8106e6fb8de473e9b51d85d49803ccfa Mon Sep 17 00:00:00 2001 From: Cormac Parle Date: Tue, 11 Feb 2020 14:46:33 +0000 Subject: [PATCH] Replace deprecated getSiteLinks() with getSiteLinkList() --- src/EntityImporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EntityImporter.php b/src/EntityImporter.php index ad84fd3..4522f8d 100644 --- a/src/EntityImporter.php +++ b/src/EntityImporter.php @@ -152,7 +152,7 @@ private function getBadgeItems( array $entities ) { continue; } - foreach( $entity->getSiteLinks() as $siteLink ) { + foreach( $entity->getSiteLinkList() as $siteLink ) { foreach( $siteLink->getBadges() as $badge ) { $badgeItems[] = $badge->getSerialization(); }