Skip to content

Commit

Permalink
Fix CS/WS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Dec 24, 2023
1 parent 6fd97bf commit 756d0e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/schema/FieldDefinition.php
Expand Up @@ -59,7 +59,7 @@ public function apply(array $input, array &$output): void
{
if (!array_key_exists($this->position - 1, $input)) {
throw new OutOfBoundsException(
'Input array does not have an element at position ' . $this->position
'Input array does not have an element at position ' . $this->position,
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Type.php
Expand Up @@ -45,5 +45,5 @@ private function __construct()
{
}

abstract public function apply(string $value): bool|int|float|object|string;
abstract public function apply(string $value): bool|float|int|object|string;
}
4 changes: 2 additions & 2 deletions tests/unit/ParserTest.php
Expand Up @@ -192,8 +192,8 @@ public function test_Parses_CSV_file_according_to_schema(array $expected, Schema
$parser->parse(
$filename,
$schema,
)
)
),
),
);
}

Expand Down
4 changes: 2 additions & 2 deletions tests/unit/schema/SchemaTest.php
Expand Up @@ -46,8 +46,8 @@ public function testAppliesFieldDefinitionsToMapInputArrayToOutputArray(): void
'1.1',
'1',
'1',
]
)
],
),
);
}
}

0 comments on commit 756d0e3

Please sign in to comment.