Skip to content

Commit f622696

Browse files
committed
Merge pull request #96 from patrickbrouwers/patch-1
HtmlBuilder shouldn't depend on concrete implementation
2 parents 2516472 + 575d891 commit f622696

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/HtmlBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Collective\Html;
44

5-
use Illuminate\Routing\UrlGenerator;
5+
use Illuminate\Contracts\Routing\UrlGenerator;
66
use Illuminate\Support\Traits\Macroable;
77

88
class HtmlBuilder
@@ -12,14 +12,14 @@ class HtmlBuilder
1212
/**
1313
* The URL generator instance.
1414
*
15-
* @var \Illuminate\Routing\UrlGenerator
15+
* @var \Illuminate\Contracts\Routing\UrlGenerator
1616
*/
1717
protected $url;
1818

1919
/**
2020
* Create a new HTML builder instance.
2121
*
22-
* @param \Illuminate\Routing\UrlGenerator $url
22+
* @param \Illuminate\Contracts\Routing\UrlGenerator $url
2323
*
2424
* @return void
2525
*/

0 commit comments

Comments
 (0)