FIX: Index Respository
This commit is contained in:
@ -76,7 +76,7 @@ abstract class Repository implements Define\Repository
|
||||
|
||||
protected function setIndex(Define\Model &$model, mixed $value): Repository
|
||||
{
|
||||
$model->id = $value;
|
||||
$model->{$this->getKey()} = $value;
|
||||
return $this;
|
||||
}
|
||||
protected function getIndex(Define\Model $model): mixed
|
||||
|
Reference in New Issue
Block a user