Skip to content

Commit 0c99750

Browse files
committed
wip
1 parent fa70b17 commit 0c99750

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/DeferProp.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ class DeferProp implements IgnoreFirstLoad, Mergeable
1212

1313
protected $group;
1414

15-
protected $merge = false;
16-
1715
public function __construct(callable $callback, ?string $group = null)
1816
{
1917
$this->callback = $callback;

src/MergesProps.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55

66
trait MergesProps
77
{
8-
protected $merge = false;
8+
protected bool $merge = false;
99

10-
public function merge()
10+
public function merge(): static
1111
{
1212
$this->merge = true;
1313

1414
return $this;
1515
}
1616

17-
public function shouldMerge()
17+
public function shouldMerge(): bool
1818
{
1919
return $this->merge;
2020
}

0 commit comments

Comments
 (0)