File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
use DateTimeInterface ;
5
5
6
6
interface CallbackTypeSafeGetter {
7
- public function get (string $ name , ? callable $ callback = null ):mixed ;
8
- public function getString (string $ name , ? callable $ callback = null ):?string ;
9
- public function getInt (string $ name , ? callable $ callback = null ):?int ;
10
- public function getFloat (string $ name , ? callable $ callback = null ):?float ;
11
- public function getBool (string $ name , ? callable $ callback = null ):?bool ;
12
- public function getDateTime (string $ name , ? callable $ callback = null ):?DateTimeInterface ;
7
+ public function get (string $ name , callable $ callback ):mixed ;
8
+ public function getString (string $ name , callable $ callback ):?string ;
9
+ public function getInt (string $ name , callable $ callback ):?int ;
10
+ public function getFloat (string $ name , callable $ callback ):?float ;
11
+ public function getBool (string $ name , callable $ callback ):?bool ;
12
+ public function getDateTime (string $ name , callable $ callback ):?DateTimeInterface ;
13
13
}
You can’t perform that action at this time.
0 commit comments