diff --git a/app/PccSyncManager.php b/app/PccSyncManager.php index 29823db..9bf3216 100644 --- a/app/PccSyncManager.php +++ b/app/PccSyncManager.php @@ -237,6 +237,12 @@ private function getImageIdByUrl($imageUrl) } + /** + * Find or create categories. + * + * @param Article $article + * @return array + */ private function findArticleCategories(Article $article): array { $categories = isset($article->metadata['Categories']) ? explode(',', (string) $article->metadata['Categories']) : [];