Skip to content

Commit f28266e

Browse files
Consistent usage of "$" prefix for property names (#10662)
1 parent 9bf9df8 commit f28266e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

events.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ class SendShipmentNotification implements ShouldQueue
555555

556556
If one of your queued listeners is encountering an error, you likely do not want it to keep retrying indefinitely. Therefore, Laravel provides various ways to specify how many times or for how long a listener may be attempted.
557557

558-
You may define a `$tries` property on your listener class to specify how many times the listener may be attempted before it is considered to have failed:
558+
You may define a `tries` property on your listener class to specify how many times the listener may be attempted before it is considered to have failed:
559559

560560
```php
561561
<?php
@@ -682,7 +682,7 @@ In this example, the listener will be retried up to 25 times. However, the liste
682682
<a name="specifying-queued-listener-timeout"></a>
683683
#### Specifying Queued Listener Timeout
684684

685-
Often, you know roughly how long you expect your queued listeners to take. For this reason, Laravel allows you to specify a "timeout" value. If a listener is processing for longer than the number of seconds specified by the timeout value, the worker processing the listener will exit with an error. You may define the maximum number of seconds a listener should be allowed to run by defining a `$timeout` property on your listener class:
685+
Often, you know roughly how long you expect your queued listeners to take. For this reason, Laravel allows you to specify a "timeout" value. If a listener is processing for longer than the number of seconds specified by the timeout value, the worker processing the listener will exit with an error. You may define the maximum number of seconds a listener should be allowed to run by defining a `timeout` property on your listener class:
686686

687687
```php
688688
<?php
@@ -703,7 +703,7 @@ class SendShipmentNotification implements ShouldQueue
703703
}
704704
```
705705

706-
If you would like to indicate that a listener should be marked as failed on timeout, you may define the `$failOnTimeout` property on the listener class:
706+
If you would like to indicate that a listener should be marked as failed on timeout, you may define the `failOnTimeout` property on the listener class:
707707

708708
```php
709709
<?php

0 commit comments

Comments
 (0)