Skip to content

Commit 9e33ee0

Browse files
authored
fix(MiniRouter): remove debug code
1 parent d3ca89b commit 9e33ee0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/MiniRouter.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ public function register(string $path, callable|array $callable): self
6262
$routesStep['$']['__name'] = $varName;
6363
} else if (($origVarName = $routesStep['$']['__name']) !== $varName) {
6464
throw new \LogicException("Inconsistent route variable: tried to register \"\${$varName}\", but already registered as \"\${$origVarName}\"");
65-
} else {
66-
var_dump($origVarName);
67-
var_dump($varName);
6865
}
6966

7067
$routesStep = &$routesStep['$'];
@@ -257,4 +254,4 @@ private static function filterContextVars(callable $target, array $contextVars):
257254

258255
return $filteredVars;
259256
}
260-
}
257+
}

0 commit comments

Comments
 (0)