Clean up code

This commit is contained in:
Franz Liedke 2015-09-04 12:05:12 +02:00
parent eaa74ce9d9
commit 312d964f91

View File

@ -1,5 +1,4 @@
<?php
/*
* This file is part of Flarum.
*
@ -91,7 +90,7 @@ class RouteCollection
{
$parts = $this->reverse[$name][0];
array_walk($parts, [$this, 'fixPathPart'], $parameters);
$path = '/' . ltrim(implode('', $parts), '/');
return $path;
return '/' . ltrim(implode('', $parts), '/');
}
}