Skip to content

Commit

Permalink
rename factory method
Browse files Browse the repository at this point in the history
  • Loading branch information
MajidMohammadian committed Jun 5, 2024
1 parent c620144 commit cc1991c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/factories/BanIpFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function setIp(string $ip): static
*
* @return static
*/
public function setParent(string $type): static
public function setType(string $type): static
{
return $this->state(fn(array $attributes) => [
'type' => $type
Expand Down

0 comments on commit cc1991c

Please sign in to comment.