We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 433201e commit cf6d72cCopy full SHA for cf6d72c
Tests/Loader/ObjectRouteLoaderTest.php
@@ -92,7 +92,7 @@ public function getBadResourceStrings()
92
93
public function testExceptionOnNoObjectReturned()
94
{
95
- $this->expectException('LogicException');
+ $this->expectException(\TypeError::class);
96
$loader = new TestObjectRouteLoader();
97
$loader->loaderMap = ['my_service' => 'NOT_AN_OBJECT'];
98
$loader->load('my_service::method');
0 commit comments