Skip to content

Commit 32c8e74

Browse files
[docs] Update method visibility in upgrade guide
1 parent fd7fa00 commit 32c8e74

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/topics/upgrade-7.topic

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -196,19 +196,19 @@
196196
public function isAsync(): bool
197197
</code-block>
198198
<code-block lang="php">
199-
protected bool shouldOnce(): bool
200-
protected bool shouldRun(): bool
201-
protected bool shouldRun(): bool
202-
protected bool needBefore(): bool
199+
public function shouldOnce(): bool
200+
public function shouldRun(): bool
201+
public function shouldRun(): bool
202+
public function needBefore(): bool
203203
Not used
204-
protected bool shouldOnce(): bool
204+
public bool shouldOnce(): bool
205205
public function withinTransactions(): bool
206206
It is indicated in the settings
207-
protected bool shouldRun(): bool
208-
protected bool shouldRun(): bool
209-
protected bool shouldRun(): bool
210-
protected bool needBefore(): bool
211-
protected bool needAsync(): bool
207+
public function shouldRun(): bool
208+
public function shouldRun(): bool
209+
public function shouldRun(): bool
210+
public function needBefore(): bool
211+
public function needAsync(): bool
212212
</code-block>
213213
</compare>
214214
</chapter>

0 commit comments

Comments
 (0)