Fix for php 5.6 thing.

This commit is contained in:
James Cole 2016-01-09 16:10:12 +01:00
parent 29145bf6cf
commit 2003d37a9a

View File

@ -48,6 +48,7 @@ class Binder
*/
private function performBinding($key, $value, $route)
{
return $this->binders[$key]::routeBinder($value, $route);
$class = $this->binders[$key];
return $class::routeBinder($value, $route);
}
}