Skip to content

Commit

Permalink
Add php doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bafi committed Aug 28, 2024
1 parent 689a7b2 commit d294b3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/PccSyncManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']) : [];
Expand Down

0 comments on commit d294b3f

Please sign in to comment.