/home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Support/Collection.php
<?php
namespace Illuminate\Support;
use ArrayAccess;
use ArrayIterator;
use Illuminate\Support\Traits\EnumeratesValues;
use Illuminate\Support\Traits\Macroable;
use stdClass;
class Collection implements ArrayAccess, Enumerable
{
use EnumeratesValues, Macroable;
/**
* The items contained in the collection.
*
* @var array
*/
protected $items = [];
/**
* Create a new collection.
*
* @param mixed $items
* @return void
*/
public function __construct($items = [])
{
$this->items = $this->getArrayableItems($items);
}
/**
* Create a new collection by invoking the callback a given amount of times.
*
* @param int $number
* @param callable|null $callback
* @return static
*/
public static function times($number, callable $callback = null)
Arguments
"""
During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1349\n
Stack trace:\n
#0 /home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/home/btruapp/c...', 1349)\n
#1 /home/btruapp/cloud.btru.app/vendor/composer/ClassLoader.php(571): include('/home/btruapp/c...')\n
#2 /home/btruapp/cloud.btru.app/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/btruapp/c...')\n
#3 /home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Support/helpers.php(110): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...')\n
#4 /home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect(Array)\n
#5 /home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases')\n
#6 /home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()\n
#7 /home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))\n
#8 /home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Foundation\Application->bootstrapWith(Array)\n
#9 /home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(135): Illuminate\Foundation\Http\Kernel->bootstrap()\n
#10 /home/btruapp/cloud.btru.app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))\n
#11 /home/btruapp/cloud.btru.app/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))\n
#12 {main}
"""