Skip to content

Commit 5993c79

Browse files
kalessilnicolas-grekas
authored andcommitted
SCA: minor code tweaks
1 parent f67fe12 commit 5993c79

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Tests/Command/RouterMatchCommandTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,7 @@ private function getKernel()
9696
->expects($this->atLeastOnce())
9797
->method('has')
9898
->will($this->returnCallback(function ($id) {
99-
if ('console.command_loader' === $id) {
100-
return false;
101-
}
102-
103-
return true;
99+
return 'console.command_loader' !== $id;
104100
}))
105101
;
106102
$container

0 commit comments

Comments
 (0)