Bagisot issue on composer update
-
I had installed bagisto recent version last week. Now I run composer update command. It gave me below error
Declaration of Webkul\Core\Providers\VisitorServiceProvider::boot() must be compatible with Shetabit\Visitor\Provider\VisitorServiceProvider::boot(): void
at packages\Webkul\Core\src\Providers\VisitorServiceProvider.php:16
12▕ * Perform post-registration booting of services.
13▕ *
14▕ * @return void
15▕ */
➜ 16▕ public function boot()
17▕ {
18▕ $this->registerMacroHelpers();
19▕ }I did not modify anything but it is triggering the error. Kindly guide
-
Hello @ajaykumar1984
This issue is due to strict typing in the latest version we have done this in almost version.
To resolve this error kindly make the changes like this
Thanks & Regards..!!