Skip to content

Commit b5834c1

Browse files
committed
snapshot
1 parent f182b3f commit b5834c1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/Console/ModelsCommand/QueryScopes/__snapshots__/Test__test__1.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ class Comment extends Model
2626
* @return void
2727
*/
2828
#[Scope]
29-
protected function local(Builder $query): void {
29+
protected function local(Builder $query): void
30+
{
3031
$query->where('ip_address', '127.0.0.1');
3132
}
3233

@@ -35,7 +36,8 @@ protected function local(Builder $query): void {
3536
* @param Builder $query
3637
* @return void
3738
*/
38-
protected function scopeSystem(Builder $query): void {
39+
protected function scopeSystem(Builder $query): void
40+
{
3941
$query->where('system', true);
4042
}
4143
}

0 commit comments

Comments
 (0)