$this of type Glorand\Model\Settings\Traits\HasSettingsTable is incompatible with the type Illuminate\Database\Eloquent\Model expected by parameter $model of Glorand\Model\Settings\M...sManager::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
27
return new TableSettingsManager(/** @scrutinizer ignore-type */ $this);
Loading history...
28
}
29
30
/**
31
* @return array
32
*/
33
7
public function getSettingsValue(): array
34
{
35
7
if ($modelSettings = $this->modelSettings()->first()) {