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 11language : php
22
33php :
4- - 5.4
5- - 5.5
6- - 5.6
7- - 7.0
8- - 7.1
94 - 7.2
105 - 7.3
116
Original file line number Diff line number Diff line change @@ -38,8 +38,6 @@ class Action extends Enum
3838}
3939```
4040
41- Note the ` private ` keyword requires PHP 7.1 or higher, you can omit it on PHP 7.0.
42-
4341## Usage
4442
4543``` php
Original file line number Diff line number Diff line change 2222 }
2323 },
2424 "require" : {
25- "php" : " >=5.4 " ,
25+ "php" : " >=7.2 " ,
2626 "ext-json" : " *"
2727 },
2828 "require-dev" : {
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public function __toString()
8787 *
8888 * @return bool
8989 */
90- final public function equals ($ variable = null )
90+ final public function equals ($ variable = null ): bool
9191 {
9292 return $ variable instanceof self
9393 && $ this ->getValue () === $ variable ->getValue ()
You can’t perform that action at this time.
0 commit comments