Procházet zdrojové kódy

articlesInAnthology 添加传参类型

visuddhinanda před 3 měsíci
rodič
revize
691e12a2b2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      api-v13/app/Services/ArticleService.php

+ 1 - 1
api-v13/app/Services/ArticleService.php

@@ -44,7 +44,7 @@ class ArticleService
         return $matches[1] ?? [];
     }
 
-    public function articlesInAnthology($anthologyId)
+    public function articlesInAnthology(string $anthologyId)
     {
         $inCollection = ArticleCollection::where('collect_id', $anthologyId)
             ->select('article_id')