Completed
Pull Request — master (#288)
by James
02:10
created
src/Prophecy/Promise/ThrowPromise.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
         throw $this->exception;
88 88
     }
89 89
 
90
+    /**
91
+     * @param string $exception
92
+     */
90 93
     private function isNotAValidThrowable($exception)
91 94
     {
92 95
         return 'Exception' !== ltrim($exception, '\\') && !is_subclass_of($exception, 'Exception') && !is_subclass_of($exception, 'Throwable');
Please login to merge, or discard this patch.