remove unnecessary variable initialization in router method.

This commit is contained in:
Taylor Otwell
2011-11-21 22:03:35 -06:00
parent da016744d0
commit 64501dd097

View File

@@ -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.