Skip to content

Commit

Permalink
Merge pull request #137 from sascha-egerer/issue-135
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon authored Sep 5, 2023
2 parents 495e9d4 + 23ec463 commit ebfc114
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ parameters:
websiteTitle: string
stubFiles:
- stubs/DomainObjectInterface.stub
- stubs/EventDispatcher.stub
- stubs/ObjectStorage.stub
- stubs/QueryFactory.stub
- stubs/QueryInterface.stub
Expand Down
14 changes: 14 additions & 0 deletions stubs/EventDispatcher.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace Psr\EventDispatcher;

interface EventDispatcherInterface
{
/**
* @template TEvent of object
* @param TEvent $event
*
* @return TEvent
*/
public function dispatch(object $event);
}

0 comments on commit ebfc114

Please sign in to comment.