Skip to content

Commit b827c16

Browse files
committed
Make search in debug:container command case-insensitive
1 parent d400883 commit b827c16

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Command/ContainerDebugCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,8 @@ private function findServiceIdsContaining(ContainerBuilder $builder, $name)
217217
{
218218
$serviceIds = $builder->getServiceIds();
219219
$foundServiceIds = array();
220-
$name = strtolower($name);
221220
foreach ($serviceIds as $serviceId) {
222-
if (false === strpos($serviceId, $name)) {
221+
if (false === stripos($serviceId, $name)) {
223222
continue;
224223
}
225224
$foundServiceIds[] = $serviceId;

0 commit comments

Comments
 (0)