Skip to content

Commit df3d303

Browse files
committed
Fix undefined variable.
1 parent c0ec3cf commit df3d303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Panel/RoutesPanel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class RoutesPanel extends DebugPanel
3232
public function summary()
3333
{
3434
$routes = array_filter(Router::routes(), function ($route) {
35-
return (!isset($routes->defaults['plugin'])) || $route->defaults['plugin'] !== 'DebugKit';
35+
return (!isset($route->defaults['plugin'])) || $route->defaults['plugin'] !== 'DebugKit';
3636
});
3737

3838
return (string)count($routes);

0 commit comments

Comments
 (0)