Skip to content

Commit 6b12883

Browse files
committed
Minor fix
1 parent 0cfb3e4 commit 6b12883

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Contracts/RepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
interface RepositoryInterface
99
{
10-
public function pluck($column, $key = null): Collection|array;
10+
public function pluck($column, $key = null): mixed;
1111

1212
public function sync($id, $relation, $attributes, $detaching = true): mixed;
1313

src/Eloquent/BaseRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function makeModel(): Model
6767
return $this->model = $model;
6868
}
6969

70-
public function pluck($column, $key = null): Collection|array
70+
public function pluck($column, $key = null): mixed
7171
{
7272
return $this->model->pluck($column, $key);
7373
}

0 commit comments

Comments
 (0)