File tree Expand file tree Collapse file tree 3 files changed +5
-16
lines changed
Expand file tree Collapse file tree 3 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 1010 }
1111 ],
1212 "require" : {
13- "php" : " ^ 7.1.10"
13+ "php" : " >= 7.1.10"
1414 },
1515 "keywords" : [
1616 " stream" ,
2222 "ElementaryFramework\\ Core\\ Events\\ " : " src/Core/Events/"
2323 }
2424 }
25- }
25+ }
Original file line number Diff line number Diff line change @@ -51,4 +51,4 @@ interface IEventEmitter
5151 * @return void
5252 */
5353 function emit (int $ event , ...$ params );
54- }
54+ }
Original file line number Diff line number Diff line change @@ -49,16 +49,5 @@ interface IEventReceiver
4949 *
5050 * @return void
5151 */
52- function on (int $ event , callable $ callback ) : void ;
53-
54- /**
55- * Emit an event.
56- *
57- * @param integer $event The event to emit.
58- * @param array $callbacks The buffer of events callbacks.
59- * @param mixed[] $params The list of parameters to pass to the callback.
60- *
61- * @return void
62- */
63- function emit (int $ event , ...$ params );
64- }
52+ function on (int $ event , callable $ callback ): void ;
53+ }
You can’t perform that action at this time.
0 commit comments