File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 5
5
runs-on : ubuntu-latest
6
6
strategy :
7
7
matrix :
8
- PHP_VERSION : ["7.4", "8.0"]
8
+ PHP_VERSION : ["7.4", "8.0", "8.1" ]
9
9
env :
10
10
PHP_VERSION : ${{ matrix.php_version }}
11
11
steps :
Original file line number Diff line number Diff line change @@ -14,27 +14,31 @@ trait ArrayAccessDefinitionTrait {
14
14
/**
15
15
* {@inheritdoc}
16
16
*/
17
+ #[\ReturnTypeWillChange]
17
18
public function offsetExists ($ offset ) {
18
19
return array_key_exists ($ offset , $ this ->definition );
19
20
}
20
21
21
22
/**
22
23
* {@inheritdoc}
23
24
*/
25
+ #[\ReturnTypeWillChange]
24
26
public function offsetGet ($ offset ) {
25
27
return $ this ->definition [$ offset ] ?? NULL ;
26
28
}
27
29
28
30
/**
29
31
* {@inheritdoc}
30
32
*/
33
+ #[\ReturnTypeWillChange]
31
34
public function offsetSet ($ offset , $ value ) {
32
35
$ this ->definition [$ offset ] = $ value ;
33
36
}
34
37
35
38
/**
36
39
* {@inheritdoc}
37
40
*/
41
+ #[\ReturnTypeWillChange]
38
42
public function offsetUnset ($ offset ) {
39
43
unset($ this ->definition [$ offset ]);
40
44
}
You can’t perform that action at this time.
0 commit comments