Skip to content

Commit

Permalink
Fix doclock.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jul 27, 2016
1 parent 07aec60 commit 88af4a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/MiddlewareQueue.php
Expand Up @@ -157,12 +157,12 @@ public function insertAt($index, $middleware)
* Insert a middleware object before the first matching class.
*
* Finds the index of the first middleware that matches the provided class,
* and inserts the supplied callable before it. If the class is not found,
* this method will behave like add().
* and inserts the supplied callable before it.
*
* @param string $class The classname to insert the middleware before.
* @param callable|string $middleware The middleware to insert.
* @return $this
* @throws \LogicException If middlware to insert before is not found.
*/
public function insertBefore($class, $middleware)
{
Expand Down

0 comments on commit 88af4a4

Please sign in to comment.