Skip to content

Commit 8469fea

Browse files
Update eloquent.md (#10385)
Fixed broken `use` statement
1 parent 10142b5 commit 8469fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eloquent.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ If you would like to use scopes to create models that have the same attributes a
15821582

15831583
namespace App\Models;
15841584

1585-
use Illuminate\Database\Attributes\Scope;
1585+
use Illuminate\Database\Eloquent\Attributes\Scope;
15861586
use Illuminate\Database\Eloquent\Builder;
15871587
use Illuminate\Database\Eloquent\Model;
15881588

0 commit comments

Comments
 (0)