Skip to content

Commit 3cd7572

Browse files
committed
refactor: add return type
1 parent c02ce68 commit 3cd7572

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/_support/Models/FabricatorModel.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ class FabricatorModel extends Model
2828
'description',
2929
];
3030

31-
// Return a faked entity
32-
public function fake(Generator &$faker)
31+
/**
32+
* Return a faked entity
33+
*/
34+
public function fake(Generator &$faker): object
3335
{
3436
return (object) [
3537
'name' => $faker->ipv4(),

0 commit comments

Comments
 (0)