Passed
Push — master ( 6c6a40...94da1a )
by Thalles
02:17 queued 21s
created
examples/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,12 +17,12 @@
 block discarded – undo
17 17
 
18 18
 try {
19 19
     $factory->addDir('routes');
20
-} catch (ClassNotFoundException | UpdateRouterMissingMethodException $exception) {
20
+} catch (ClassNotFoundException|UpdateRouterMissingMethodException $exception) {
21 21
     trigger_error(
22 22
         "{$exception->getMessage()} in file {$exception->file}",
23 23
         E_USER_WARNING
24 24
     );
25
-} catch (DirectoryNotFoundException | FileNotFoundException $exception) {
25
+} catch (DirectoryNotFoundException|FileNotFoundException $exception) {
26 26
     trigger_error(
27 27
         "{$exception->file} {$exception->getMessage()}\n",
28 28
         E_USER_ERROR
Please login to merge, or discard this patch.
src/Routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      *
58 58
      * @return Routes
59 59
      */
60
-    public function namespace(?string $ns): Routes
60
+    public function namespace(?string $ns) : Routes
61 61
     {
62 62
         $this->router->namespace($ns);
63 63
         return $this;
Please login to merge, or discard this patch.