Skip to content

Commit

Permalink
Fix coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Apr 3, 2023
1 parent 8dd42f0 commit 8a5ad49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Validation/ValidationNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function getAllErrors(): array
* @param list<int|string> $path
* @return list<string>
*/
private function getNodeErrors(ValidationNode $node, array $path): array
private function getNodeErrors(self $node, array $path): array
{
$errorsByNode = [];
$errorsByNode[] = $this->getPrefixedMessages($node->errors, $path);
Expand All @@ -75,7 +75,7 @@ public function getAllWarnings(): array
* @param list<int|string> $path
* @return list<string>
*/
private function getNodeWarnings(ValidationNode $node, array $path): array
private function getNodeWarnings(self $node, array $path): array
{
$warningsByNode = [];
$warningsByNode[] = $this->getPrefixedMessages($node->warnings, $path);
Expand Down

0 comments on commit 8a5ad49

Please sign in to comment.