mirror of
https://github.com/flarum/core.git
synced 2025-07-28 20:20:34 +02:00
Clean up code
This commit is contained in:
@@ -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), '/');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user