diff --git a/src/Database/Barry/Model.php b/src/Database/Barry/Model.php index 0a95aec3..e26aa4cd 100644 --- a/src/Database/Barry/Model.php +++ b/src/Database/Barry/Model.php @@ -255,12 +255,12 @@ public static function findBy(string $column, mixed $value): Collection * @param mixed $id * @param array $select * - * @return Collection|static|null + * @return Collection|Model|null */ public static function findAndDelete( int | string | array $id, array $select = ['*'] - ): Model { + ): Collection|Model|null { $model = static::find($id, $select); if (is_null($model)) {