It seems like $team of type object<Gitamin\Commands\...tNamespace\ProjectTeam> is incompatible with the declared type object<Gitamin\Models\ProjectTeam> of property $team.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.