Skip to content

Commit 610f3eb

Browse files
Merge pull request #231 from TheDragonCode/7.x
[docs] Update method visibility in upgrade guide
2 parents 80bbd38 + 32c8e74 commit 610f3eb

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
@@ -198,19 +198,19 @@
198198
public function isAsync(): bool
199199
</code-block>
200200
<code-block lang="php">
201-
protected bool shouldOnce(): bool
202-
protected bool shouldRun(): bool
203-
protected bool shouldRun(): bool
204-
protected bool needBefore(): bool
201+
public function shouldOnce(): bool
202+
public function shouldRun(): bool
203+
public function shouldRun(): bool
204+
public function needBefore(): bool
205205
Not used
206-
protected bool shouldOnce(): bool
206+
public bool shouldOnce(): bool
207207
public function withinTransactions(): bool
208208
It is indicated in the settings
209-
protected bool shouldRun(): bool
210-
protected bool shouldRun(): bool
211-
protected bool shouldRun(): bool
212-
protected bool needBefore(): bool
213-
protected bool needAsync(): bool
209+
public function shouldRun(): bool
210+
public function shouldRun(): bool
211+
public function shouldRun(): bool
212+
public function needBefore(): bool
213+
public function needAsync(): bool
214214
</code-block>
215215
</compare>
216216
</chapter>

0 commit comments

Comments
 (0)