Completed
Pull Request — master (#188)
by
unknown
01:12
created
src/EventSubscriber.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@
 block discarded – undo
31 31
         $this->storedEventModel::store($event);
32 32
     }
33 33
 
34
+    /**
35
+     * @param string $event
36
+     */
34 37
     private function shouldBeStored($event): bool
35 38
     {
36 39
         if (! class_exists($event)) {
Please login to merge, or discard this patch.
src/AggregateRoot.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * @param \Spatie\EventProjector\ShouldBeStored|\Spatie\EventProjector\ShouldBeStored[] $events
89 89
      *
90
-     * @return $this
90
+     * @return FakeAggregateRoot
91 91
      */
92 92
     public static function fake($events = []): FakeAggregateRoot
93 93
     {
Please login to merge, or discard this patch.