File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 15
15
fail-fast : false
16
16
matrix :
17
17
php :
18
+ - 8.4
19
+ - 8.3
18
20
- 8.2
19
21
- 8.1
20
22
- 8.0
23
25
- lo
24
26
25
27
steps :
26
- - uses : actions/checkout@v2
28
+ - uses : actions/checkout@v4
27
29
28
30
- name : Setup PHP ${{ matrix.php }}
29
31
uses : shivammathur/setup-php@v2
36
38
37
39
- name : Cache dependencies
38
40
id : composer-cache
39
- uses : actions/cache@v2
41
+ uses : actions/cache@v4
40
42
with :
41
43
path : vendor
42
44
key : php-${{ matrix.php }}-${{ matrix.dependencies }}-${{ hashFiles('composer.json') }}
Original file line number Diff line number Diff line change 17
17
* @throws FailingTooHardException The maximum number of attempts was reached.
18
18
* @throws \UnexpectedValueException The operation returned an unsupported type.
19
19
*/
20
- function retry (int $ tries , callable $ operation , callable $ onError = null ): mixed
20
+ function retry (int $ tries , callable $ operation , ? callable $ onError = null ): mixed
21
21
{
22
22
// Nothing to do if tries less than or equal to zero.
23
23
if ($ tries <= $ attempts = 0 ) {
You can’t perform that action at this time.
0 commit comments