Skip to content

Commit bbecb01

Browse files
committed
Fix inverted condition
1 parent bad1a04 commit bbecb01

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
@@ -37,7 +37,7 @@ public function summary()
3737
}
3838

3939
$routes = array_filter(Router::routes(), function ($route) {
40-
return $route->defaults['plugin'] === 'DebugKit';
40+
return $route->defaults['plugin'] !== 'DebugKit';
4141
});
4242

4343
return count($routes);

0 commit comments

Comments
 (0)