Skip to content

getRelationQuery incompatible #2262

Closed
@MeerKatDev

Description

@MeerKatDev
  • Laravel-mongodb Version: 3.8.3
  • PHP Version: 7.4.19
  • Database Driver & Version:

Description:

<warning>PHP Warning:  
Declaration of Jenssegers\Mongodb\Relations\HasMany::getRelationQuery(Illuminate\Database\Eloquent\Builder $query, 
Illuminate\Database\Eloquent\Builder $parent, $columns = Array) should be compatible with 
Illuminate\Database\Eloquent\Relations\Relation::getRelationQuery() in C:\projects\lookinglass-
backend\vendor\jenssegers\mongodb\src\Jenssegers\Mongodb\Relations\HasMany.php on line 68</warning>

Steps to reproduce

  1. just declare a relation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions