Skip to content

Commit 8cfe1a3

Browse files
committed
Fixed "Constant expression contains invalid operations" for PHP 8.1 (#7)
1 parent 6136807 commit 8cfe1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Concerns/HasSoftDeletes.php

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

99
trait HasSoftDeletes
1010
{
11-
public string $trashed = TrashedMode::WithoutTrashed->value;
11+
public string $trashed = 'withoutTrashed';
1212

1313
/** @return array<string, mixed> */
1414
protected function queryStringHasSoftDeletes(): array

0 commit comments

Comments
 (0)