From e7873944b88a1259daffbfedc4caca164b933025 Mon Sep 17 00:00:00 2001 From: Victor Isadov Date: Sun, 3 Mar 2019 22:45:13 +0300 Subject: [PATCH] Change order in array_merge Closes https://github.com/LaravelCollective/html/issues/575 --- src/HtmlBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HtmlBuilder.php b/src/HtmlBuilder.php index 743b32a..c9ed8d3 100755 --- a/src/HtmlBuilder.php +++ b/src/HtmlBuilder.php @@ -132,7 +132,7 @@ class HtmlBuilder { $defaults = ['rel' => 'shortcut icon', 'type' => 'image/x-icon']; - $attributes = array_merge($attributes, $defaults); + $attributes = array_merge($defaults, $attributes); $attributes['href'] = $this->url->asset($url, $secure);