HtmlBuilder shouldn't depend on concrete implementation
This commit is contained in:
1 parent
a4acc4a0ad
commit
575d891b64
1 file changed
+3
-3
+3
-3
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Collective\Html;
|
namespace Collective\Html;
|
||||||
|
|
||||||
use Illuminate\Routing\UrlGenerator;
|
use Illuminate\Contracts\Routing\UrlGenerator;
|
||||||
use Illuminate\Support\Traits\Macroable;
|
use Illuminate\Support\Traits\Macroable;
|
||||||
|
|
||||||
class HtmlBuilder
|
class HtmlBuilder
|
||||||
@@ -12,14 +12,14 @@ class HtmlBuilder
|
|||||||
/**
|
/**
|
||||||
* The URL generator instance.
|
* The URL generator instance.
|
||||||
*
|
*
|
||||||
* @var \Illuminate\Routing\UrlGenerator
|
* @var \Illuminate\Contracts\Routing\UrlGenerator
|
||||||
*/
|
*/
|
||||||
protected $url;
|
protected $url;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new HTML builder instance.
|
* Create a new HTML builder instance.
|
||||||
*
|
*
|
||||||
* @param \Illuminate\Routing\UrlGenerator $url
|
* @param \Illuminate\Contracts\Routing\UrlGenerator $url
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in new issue
Block a user