File tree Expand file tree Collapse file tree 4 files changed +2
-9
lines changed Expand file tree Collapse file tree 4 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
- - 5.4
5
- - 5.5
6
- - 5.6
7
- - 7.0
8
- - 7.1
9
4
- 7.2
10
5
- 7.3
11
6
Original file line number Diff line number Diff line change @@ -38,8 +38,6 @@ class Action extends Enum
38
38
}
39
39
```
40
40
41
- Note the ` private ` keyword requires PHP 7.1 or higher, you can omit it on PHP 7.0.
42
-
43
41
## Usage
44
42
45
43
``` php
Original file line number Diff line number Diff line change 22
22
}
23
23
},
24
24
"require" : {
25
- "php" : " >=5.4 " ,
25
+ "php" : " >=7.2 " ,
26
26
"ext-json" : " *"
27
27
},
28
28
"require-dev" : {
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public function __toString()
87
87
*
88
88
* @return bool
89
89
*/
90
- final public function equals ($ variable = null )
90
+ final public function equals ($ variable = null ): bool
91
91
{
92
92
return $ variable instanceof self
93
93
&& $ this ->getValue () === $ variable ->getValue ()
You can’t perform that action at this time.
0 commit comments