Skip to content

Commit d9d2aa9

Browse files
committed
docs: add/remove PHPDoc types
1 parent 899e545 commit d9d2aa9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/Entities/Monster.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
*
1010
* This class represents a single row in the
1111
* `monsters` database.
12+
*
13+
* @property int $dungeon_id
1214
*/
1315
class Monster extends Entity
1416
{

tests/database/FakerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ public function testMakesValidMonster()
4343
// Since our Faker uses Fabricator counts for its dungeon_id we should always have a valid dungeon available
4444
public function testMakesMonsterWithDungeon()
4545
{
46+
/** @var Monster $monster */
4647
$monster = $this->fabricator->make();
47-
/** @var Dungeon $dungeon */
4848
$dungeon = model(DungeonModel::class)->find($monster->dungeon_id);
4949

5050
$this->assertInstanceOf(Dungeon::class, $dungeon);

0 commit comments

Comments
 (0)