mirror of
https://github.com/flarum/core.git
synced 2025-02-25 03:33:42 +01:00
Clean up code
This commit is contained in:
parent
211d2d25cd
commit
a3d59977b3
@ -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), '/');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user