Browse Source

Fix RouteCollection classname in docblocks

Bryan Crowe 8 years ago
parent
commit
f44b7ba467
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/Routing/RouteBuilder.php
  2. 1 1
      src/Routing/RouteCollection.php

+ 1 - 1
src/Routing/RouteBuilder.php

@@ -896,7 +896,7 @@ class RouteBuilder
      * Register a middleware with the RouteCollection.
      *
      * Once middleware has been registered, it can be applied to the current routing
-     * scope or any child scopes that share the same RoutingCollection.
+     * scope or any child scopes that share the same RouteCollection.
      *
      * @param string $name The name of the middleware. Used when applying middleware to a scope.
      * @param callable $middleware The middleware object to register.

+ 1 - 1
src/Routing/RouteCollection.php

@@ -408,7 +408,7 @@ class RouteCollection
      * Register a middleware with the RouteCollection.
      *
      * Once middleware has been registered, it can be applied to the current routing
-     * scope or any child scopes that share the same RoutingCollection.
+     * scope or any child scopes that share the same RouteCollection.
      *
      * @param string $name The name of the middleware. Used when applying middleware to a scope.
      * @param callable $middleware The middleware object to register.