The method relationLoaded() does not exist on App\Traits\enso\DynamicMethods\Relations. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
11
if ($this->/** @scrutinizer ignore-call */ relationLoaded($key)) {
Loading history...
12
return $this->relations[$key];
13
}
14
15
if (isset(static::$dynamicMethods[$key]) || method_exists($this, $key)) {
The method getRelationshipFromMethod() does not exist on App\Traits\enso\DynamicMethods\Relations. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation