Closed Codestudios closed 4 years ago
in Model.php (line 14)
at Application->Laravel\Lumen\Concerns{closure}(2, 'Declaration of Jenssegers\Mongodb\Eloquent\HybridRelations::belongsToMany($related, $collection = NULL, $foreignKey = NULL, $otherKey = NULL, $relation = NULL) should be compatible with Illuminate\Database\Eloquent\Model::belongsToMany($related, $table = NULL, $foreignPivotKey = NULL, $relatedPivotKey = NULL, $parentKey = NULL, $relatedKey = NULL, $relation = NULL)', '/home/vagrant/sae-cloud/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Eloquent/Model.php', 14, array('file' => '/home/vagrant/sae-cloud/vendor/composer/../jenssegers/mongodb/src/Jenssegers/Mongodb/Eloquent/Model.php')) in Model.php (line 14)
Use v3.3.0-alpha version
v3.3.0-alpha
(1/1) ErrorExceptionDeclaration of Jenssegers\Mongodb\Eloquent\HybridRelations::belongsToMany($related, $collection = NULL, $foreignKey = NULL, $otherKey = NULL, $relation = NULL) should be compatible with Illuminate\Database\Eloquent\Model::belongsToMany($related, $table = NULL, $foreignPivotKey = NULL, $relatedPivotKey = NULL, $parentKey = NULL, $relatedKey = NULL, $relation = NULL)
in Model.php (line 14)
at Application->Laravel\Lumen\Concerns{closure}(2, 'Declaration of Jenssegers\Mongodb\Eloquent\HybridRelations::belongsToMany($related, $collection = NULL, $foreignKey = NULL, $otherKey = NULL, $relation = NULL) should be compatible with Illuminate\Database\Eloquent\Model::belongsToMany($related, $table = NULL, $foreignPivotKey = NULL, $relatedPivotKey = NULL, $parentKey = NULL, $relatedKey = NULL, $relation = NULL)', '/home/vagrant/sae-cloud/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Eloquent/Model.php', 14, array('file' => '/home/vagrant/sae-cloud/vendor/composer/../jenssegers/mongodb/src/Jenssegers/Mongodb/Eloquent/Model.php')) in Model.php (line 14)