Skip to content

Commit

Permalink
Make search in debug:container command case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
jzawadzki committed Nov 23, 2017
1 parent ae62e56 commit c429c33
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,8 @@ private function findServiceIdsContaining(ContainerBuilder $builder, $name)
{
$serviceIds = $builder->getServiceIds();
$foundServiceIds = array();
$name = strtolower($name);
foreach ($serviceIds as $serviceId) {
if (false === strpos($serviceId, $name)) {
if (false === stripos($serviceId, $name)) {
continue;
}
$foundServiceIds[] = $serviceId;
Expand Down

0 comments on commit c429c33

Please sign in to comment.