php artisan

ErrorException : Declaration of Illuminate\Support\Carbon::__set_state(array $array) should be compatible with Carbon\Carbon::__set_state($state)

at C:\laragon\www\notes\vendor\laravel\framework\src\Illuminate\Support\Carbon.php: 9
5| use JsonSerializable;
6| use Carbon\Carbon as BaseCarbon;
7| use Illuminate\Support\Traits\Macroable;
8|

9| class Carbon extends BaseCarbon implements JsonSerializable
10| {
11| use Macroable;
12|
13| /**

Exception trace:

1 Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Declaration of Illuminate\Support\Carbon::__set_state(array $array) should be compatible with Carbon\Carbon::__set_state($state)", "C:\laragon\www\notes\vendor\laravel\framework\src\Illuminate\Support\Carbon.php", ["C:\laragon\www\notes\vendor\composer/../laravel/framework/src/Illuminate/Support/Carbon.php"])
C:\laragon\www\notes\vendor\laravel\framework\src\Illuminate\Support\Carbon.php : 9

2 include("C:\laragon\www\notes\vendor\laravel\framework\src\Illuminate\Support\Carbon.php")
C:\laragon\www\notes\vendor\composer\ClassLoader.php : 444

Please use the argument -v to see more details.