I am using Laravel 5.3 with jenssegers mongodb package. I am getting this error when running
php artisan migrate
Declaration of Jenssegers\Mongodb\Schema\Blueprint::primary() should be compatible with Illuminate\Database\Schema\Blueprint::primary($columns, $name = NULL, $algorithm = NULL)
This issue was fixed in 3.1.x release.
To get the latest compatible version,run
What version of the package are you using?
I have "jenssegers/mongodb": "^3.0"
Laravel version is 5.3