File tree 1 file changed +2
-4
lines changed
src/Symfony/Component/DependencyInjection/Tests
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1134,8 +1134,7 @@ public function testPrivateServiceUser()
1134
1134
try {
1135
1135
$ container ->get ('bar ' );
1136
1136
$ this ->fail ('Expected ServiceNotFoundException not thrown ' );
1137
- }
1138
- catch (ServiceNotFoundException $ e ) {
1137
+ } catch (ServiceNotFoundException $ e ) {
1139
1138
$ this ->addToAssertionCount (1 );
1140
1139
}
1141
1140
$ this ->assertInstanceOf (\BarClass::class, $ container ->get ('bar_user ' )->bar );
@@ -1145,8 +1144,7 @@ public function testPrivateServiceUser()
1145
1144
try {
1146
1145
$ container ->get ('bar ' );
1147
1146
$ this ->fail ('Expected ServiceNotFoundException not thrown ' );
1148
- }
1149
- catch (ServiceNotFoundException $ e ) {
1147
+ } catch (ServiceNotFoundException $ e ) {
1150
1148
$ this ->addToAssertionCount (1 );
1151
1149
}
1152
1150
You can’t perform that action at this time.
0 commit comments