Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Apr 28, 2024
1 parent 1c3b8e4 commit 3362604
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Model/ImportRow.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ final class ImportRow
private array $errors = [];

/**
* @param array<string, mixed> $row
* @param array<string, string> $row
*/
public function __construct(private array $row)
public function __construct(private readonly array $row)
{
}

Expand All @@ -42,6 +42,9 @@ public function hasError(): bool
return \count($this->errors) > 0;
}

/**
* @return array<string, string>
*/
public function getData(): array
{
return $this->row;
Expand Down

0 comments on commit 3362604

Please sign in to comment.