Remove deprecated helper function and use Facade instead

This commit is contained in:
Ibrahim Al Naz Rana committed 2019-02-28 13:25:36 +06:00
1 parent 48d7cff502
commit 2fc07eeaa4
2 files changed
+7 -5

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@
namespace Collective\Html;
use BadMethodCallException;
use Illuminate\Support\Arr;
use Illuminate\Support\HtmlString;
trait Componentable
@@ -81,7 +82,7 @@ trait Componentable
$default = null;
}
$data[$variable] = array_get($arguments, $i, $default);
$data[$variable] = Arr::get($arguments, $i, $default);
$i++;
}