Completed
Pull Request — master (#44)
by Timothy
02:39
created
src/Middleware.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      * @param callable|string $basePath The base path in which the middleware is created (optional)
80 80
      * @param callable        $factory  Takes no argument and MUST return a middleware callable or false
81 81
      * 
82
-     * @return callable
82
+     * @return \Closure
83 83
      */
84 84
     public static function create($basePath, callable $factory = null)
85 85
     {
Please login to merge, or discard this patch.
src/Middleware/JsonSchema.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
     /**
57 57
      * @param ServerRequestInterface $request
58
-     * @return string|bool
58
+     * @return string|false
59 59
      */
60 60
     private function getSchema(ServerRequestInterface $request)
61 61
     {
Please login to merge, or discard this patch.