File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ parameters:
11
11
- app/Views/*
12
12
ignoreErrors:
13
13
- '#Call to an undefined method CodeIgniter\\Database\\ConnectionInterface::(en|dis)ableForeignKeyChecks#'
14
- - '#Cannot access property [\$a-z_]+ on (array|object)#'
15
14
universalObjectCratesClasses:
16
15
- CodeIgniter\Entity
17
16
- CodeIgniter\Entity\Entity
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ protected function setUp(): void
34
34
public function testMakesValidMonster ()
35
35
{
36
36
// We can use make() to generate a random dataset defined in our Faker
37
+ /** @var Monster $monster */
37
38
$ monster = $ this ->fabricator ->make ();
38
39
39
40
$ this ->assertInstanceOf (Monster::class, $ monster );
@@ -53,6 +54,7 @@ public function testMakesMonsterWithDungeon()
53
54
public function testCreateAddsToDatabase ()
54
55
{
55
56
// create() generates a random dataset just like make() but also adds it to the database for us
57
+ /** @var Monster $monster */
56
58
$ monster = $ this ->fabricator ->create ();
57
59
$ this ->assertIsInt ($ monster ->id );
58
60
You can’t perform that action at this time.
0 commit comments