Skip to content

Commit

Permalink
Drop unnecessary assertion
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Jun 7, 2022
1 parent df257ac commit 884e7ba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/InputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public function assertRequiredValidationErrorMessage(Input $input, string $messa

$expectedKey = NotEmptyValidator::IS_EMPTY;
$messages = $input->getMessages();
/** @psalm-suppress RedundantConditionGivenDocblockType */
self::assertIsArray($messages, $message . ' non-array messages array');
self::assertArrayHasKey($expectedKey, $messages);

$notEmpty = new NotEmptyValidator();
Expand Down

0 comments on commit 884e7ba

Please sign in to comment.