Skip to content
Permalink
Browse files

Add "callable" type for consistency with other methods.

  • Loading branch information...
ADmad committed Jul 25, 2016
1 parent 255fb52 commit 12612ff4c6746349b41319f8281e653f7986eac5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Http/MiddlewareQueue.php
@@ -112,7 +112,7 @@ public function insertAt($index, callable $callable)
* @param callable $callable The middleware to insert
* @return $this
*/
public function insertBefore($class, $callable)
public function insertBefore($class, callable $callable)
{
$found = false;
foreach ($this->queue as $i => $object) {
@@ -138,7 +138,7 @@ public function insertBefore($class, $callable)
* @param callable $callable The middleware to insert
* @return $this
*/
public function insertAfter($class, $callable)
public function insertAfter($class, callable $callable)
{
$found = false;
foreach ($this->queue as $i => $object) {

0 comments on commit 12612ff

Please sign in to comment.
You can’t perform that action at this time.