Upgrade framework
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace Collective\Html;
|
||||
|
||||
use BadMethodCallException;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\HtmlString;
|
||||
|
||||
trait Componentable
|
||||
@@ -47,7 +48,7 @@ trait Componentable
|
||||
* @param $name
|
||||
* @param array $arguments
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View
|
||||
* @return HtmlString
|
||||
*/
|
||||
protected function renderComponent($name, array $arguments)
|
||||
{
|
||||
@@ -81,7 +82,7 @@ trait Componentable
|
||||
$default = null;
|
||||
}
|
||||
|
||||
$data[$variable] = array_get($arguments, $i, $default);
|
||||
$data[$variable] = Arr::get($arguments, $i, $default);
|
||||
|
||||
$i++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user