Skip to content

Commit

Permalink
Fix minor psalm issues
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Jan 8, 2024
1 parent fbc25cd commit b427321
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,6 @@
<code><![CDATA[$this->rendererConfigProviders[$rendererClass]]]></code>
<code><![CDATA[$this->routerConfigProviders[$routerClass]]]></code>
</PossiblyInvalidArrayOffset>
<RedundantCastGivenDocblockType>
<code><![CDATA[(string) $response->getBody()->getContents()]]></code>
</RedundantCastGivenDocblockType>
</file>
<file src="test/MezzioInstallerTest/OptionalPackagesTestCase.php">
<MixedArgument>
Expand Down
2 changes: 1 addition & 1 deletion test/MezzioInstallerTest/HomePageResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function testHomePageHtmlResponseContainsExpectedInfo(
self::assertEquals(200, $response->getStatusCode());

// Test response content
$html = (string) $response->getBody()->getContents();
$html = $response->getBody()->getContents();

self::assertStringContainsString(sprintf('Get started with %s', $containerName), $html);
self::assertStringContainsString(sprintf('href="%s"', $containerDocs), $html);
Expand Down

0 comments on commit b427321

Please sign in to comment.