-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to hhvm 4.56 and contract 1.1
- Loading branch information
Showing
25 changed files
with
61 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/Nuxed/EventDispatcher/EventListener/CallableEventListener.hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
src/Nuxed/EventDispatcher/EventListener/IEventListener.hack
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
namespace Nuxed\EventDispatcher\EventListener; | ||
|
||
use namespace His\Container; | ||
use namespace Nuxed\EventDispatcher\Event; | ||
use namespace Nuxed\Contract\EventDispatcher\{Event, EventListener}; | ||
use namespace Nuxed\Contract\Container; | ||
|
||
/** | ||
* Helper function to create a lazy loaded event listener. | ||
*/ | ||
function lazy<T as Event\IEvent>( | ||
Container\ContainerInterface $container, | ||
classname<IEventListener<T>> $service, | ||
): IEventListener<T> { | ||
Container\IContainer $container, | ||
classname<EventListener\IEventListener<T>> $service, | ||
): EventListener\IEventListener<T> { | ||
return callable<T>( | ||
(T $event) ==> | ||
$container->get<IEventListener<T>>($service)->process($event), | ||
(T $event) ==> $container->get<EventListener\IEventListener<T>>($service) | ||
->process($event), | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
src/Nuxed/EventDispatcher/ListenerProvider/AttachableListenerProvider.hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 8 additions & 3 deletions
11
src/Nuxed/EventDispatcher/ListenerProvider/IAttachableListenerProvider.hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
src/Nuxed/EventDispatcher/ListenerProvider/IListenerProvider.hack
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
src/Nuxed/EventDispatcher/ListenerProvider/IPrioritizedListenerProvider.hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
src/Nuxed/EventDispatcher/ListenerProvider/IReifiedListenerProvider.hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Nuxed/EventDispatcher/ListenerProvider/PrioritizedListenerProvider.hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Nuxed/EventDispatcher/ListenerProvider/RandomizedListenerProvider.hack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.