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.|
FatalError
|
|---|
Symfony\Component\ErrorHandler\Error\FatalError:
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/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1349
Stack trace:
#0 /home/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /home/billxco/test.billx.co/vendor/composer/ClassLoader.php(480): include('/home/billxco/t...')
#2 /home/billxco/test.billx.co/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile()
#3 /home/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Support/helpers.php(110): Composer\Autoload\ClassLoader->loadClass()
#4 /home/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect()
#5 /home/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config()
#6 /home/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
#7 /home/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap()
#8 /home/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Foundation\Application->bootstrapWith()
#9 /home/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(135): Illuminate\Foundation\Http\Kernel->bootstrap()
#10 /home/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#11 /home/billxco/test.billx.co/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle()
#12 {main}
at /home/billxco/test.billx.co/vendor/laravel/framework/src/Illuminate/Support/Collection.php:11
|