Browse Source

Fix docblocks

mscherer 7 years ago
parent
commit
abbdf03cbf
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/Routing/Middleware/RoutingMiddleware.php

+ 3 - 3
src/Routing/Middleware/RoutingMiddleware.php

@@ -39,7 +39,7 @@ class RoutingMiddleware
     /**
      * The application that will have its routing hook invoked.
      *
-     * @var \Cake\Http\BaseApplication
+     * @var \Cake\Http\BaseApplication|null
      */
     protected $app;
 
@@ -47,14 +47,14 @@ class RoutingMiddleware
      * The cache configuration name to use for route collection caching,
      * null to disable caching
      *
-     * @var string
+     * @var string|null
      */
     protected $cacheConfig;
 
     /**
      * Constructor
      *
-     * @param \Cake\Http\BaseApplication $app The application instance that routes are defined on.
+     * @param \Cake\Http\BaseApplication|null $app The application instance that routes are defined on.
      * @param string|null $cacheConfig The cache config name to use or null to disable routes cache
      */
     public function __construct(BaseApplication $app = null, $cacheConfig = null)