Skip to content

Commit 3c202ff

Browse files
committed
Update README.md
1 parent 157164c commit 3c202ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ $posts = Post::addScopeAsSelect('is_published', function ($query) {
131131
})->get();
132132
```
133133

134-
With short closures, which was introduced in PHP 7.4, this can be even shorter:
134+
With short closures, a feature which was introduced in PHP 7.4, this can be even shorter:
135135

136136
```php
137137
$posts = Post::addScopeAsSelect('is_published', fn ($query) => $query->published())->get();

0 commit comments

Comments
 (0)