Completed
Push — master ( 5aaa13...19c822 )
by Constantin
03:16
created
src/Gica/Cqrs/Testing/BddAggregateTestHelper.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -228,11 +228,17 @@
 block discarded – undo
228 228
         );
229 229
     }
230 230
 
231
+    /**
232
+     * @param \Throwable $childClass
233
+     */
231 234
     private function isClassOrSubClass(string $parentClass, $childClass): bool
232 235
     {
233 236
         return get_class($childClass) == $parentClass || is_subclass_of($childClass, $parentClass);
234 237
     }
235 238
 
239
+    /**
240
+     * @param Command $command
241
+     */
236 242
     private function checkCommand($command)
237 243
     {
238 244
         if (!$command instanceof Command) {
Please login to merge, or discard this patch.