Skip to content

Commit

Permalink
docs: fix PHPDoc types
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Mar 29, 2024
1 parent 6f46364 commit 101d351
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Libraries/GitHub.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function getCommit(array $segments): array
/**
* Retrieves repo details for each configured repository as a Repo.
*
* @return list<Repo>
* @return array<string, Repo>
*/
public function getRepos(): array
{
Expand Down
3 changes: 2 additions & 1 deletion tests/_support/ProjectTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Tests\Support;

use App\Database\Seeds\ForumSeeder;
use CodeIgniter\Database\Seeder;
use CodeIgniter\Test\CIUnitTestCase;

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

Expand Down

0 comments on commit 101d351

Please sign in to comment.