Skip to content

Commit ebfc114

Browse files
Merge pull request #137 from sascha-egerer/issue-135
2 parents 495e9d4 + 23ec463 commit ebfc114

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

extension.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ parameters:
141141
websiteTitle: string
142142
stubFiles:
143143
- stubs/DomainObjectInterface.stub
144+
- stubs/EventDispatcher.stub
144145
- stubs/ObjectStorage.stub
145146
- stubs/QueryFactory.stub
146147
- stubs/QueryInterface.stub

stubs/EventDispatcher.stub

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace Psr\EventDispatcher;
4+
5+
interface EventDispatcherInterface
6+
{
7+
/**
8+
* @template TEvent of object
9+
* @param TEvent $event
10+
*
11+
* @return TEvent
12+
*/
13+
public function dispatch(object $event);
14+
}

0 commit comments

Comments
 (0)