Upgrade framework

This commit is contained in:
2023-11-14 16:54:35 +01:00
parent 1648a5cd42
commit 4fcf6fffcc
10548 changed files with 693138 additions and 466698 deletions

View File

@@ -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++;
}