Skip to content

Commit a398d8f

Browse files
committed
Added type docs.
1 parent 05da411 commit a398d8f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Mods/Collection/ModCollection.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
use CPMDB\Mods\Collection\Filter\ModFilter;
2929
use CPMDB\Mods\Collection\Indexer\IndexManager;
3030
use CPMDB\Mods\Items\GlobalItemCollection;
31+
use CPMDB\Mods\Mod\ModInfoInterface;
3132
use Mistralys\ChangelogParser\ChangelogParser;
3233
use Throwable;
3334

@@ -36,6 +37,10 @@
3637
*
3738
* @package CPMDB
3839
* @subpackage Mod Collection
40+
*
41+
* @method ModInfoInterface[] getAll()
42+
* @method ModInfoInterface getDefault()
43+
* @method ModInfoInterface getByID(string $id)
3944
*/
4045
class ModCollection extends BaseStringPrimaryCollection implements ModCollectionInterface
4146
{

0 commit comments

Comments
 (0)