remove unnecessary variable initialization in router method.
This commit is contained in:
@@ -234,8 +234,6 @@ class Router {
|
|||||||
*/
|
*/
|
||||||
protected function wildcards($key)
|
protected function wildcards($key)
|
||||||
{
|
{
|
||||||
$count = 0;
|
|
||||||
|
|
||||||
// For optional parameters, first translate the wildcards to their
|
// For optional parameters, first translate the wildcards to their
|
||||||
// regex equivalent, sans the ")?" ending. We will add the endings
|
// regex equivalent, sans the ")?" ending. We will add the endings
|
||||||
// back on after we know how many replacements we made.
|
// back on after we know how many replacements we made.
|
||||||
|
|||||||
Reference in New Issue
Block a user