Skip to content

Commit e4e6656

Browse files
committed
Use setter
1 parent a29f2b6 commit e4e6656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Concerns/HasUrl.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function url(string $url): self
1515

1616
public function route(string $route, array $parameters = []): self
1717
{
18-
$this->url = route($route, $parameters);
18+
$this->url(route($route, $parameters));
1919

2020
return $this;
2121
}

0 commit comments

Comments
 (0)