Skip to content

Commit 101d351

Browse files
committed
docs: fix PHPDoc types
1 parent 6f46364 commit 101d351

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

app/Libraries/GitHub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function getCommit(array $segments): array
249249
/**
250250
* Retrieves repo details for each configured repository as a Repo.
251251
*
252-
* @return list<Repo>
252+
* @return array<string, Repo>
253253
*/
254254
public function getRepos(): array
255255
{

tests/_support/ProjectTestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Tests\Support;
44

55
use App\Database\Seeds\ForumSeeder;
6+
use CodeIgniter\Database\Seeder;
67
use CodeIgniter\Test\CIUnitTestCase;
78

89
/**
@@ -21,7 +22,7 @@ abstract class ProjectTestCase extends CIUnitTestCase
2122
* The seed file(s) used for all tests within this test case.
2223
* Should be fully-namespaced or relative to $basePath
2324
*
24-
* @var array|string
25+
* @var class-string<Seeder>
2526
*/
2627
protected $seed = ForumSeeder::class;
2728

0 commit comments

Comments
 (0)