Skip to content

Commit

Permalink
chores: style fixes, #55
Browse files Browse the repository at this point in the history
  • Loading branch information
courtney-miles committed Jan 25, 2023
1 parent 95ad22e commit 6b26d81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/SlurpFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function createTableSchemaFromPath(string $path): Schema
try {
return new Schema($path);
} catch (Throwable $e) {
throw new FactoryException('Error creating table schema from file path: '.$e->getMessage(), 0, $e);
throw new FactoryException('Error creating table schema from file path: ' . $e->getMessage(), 0, $e);
}
}

Expand All @@ -126,7 +126,7 @@ public function createTableSchemaFromArray(array $arr): Schema
try {
return new Schema($arr);
} catch (Throwable $e) {
throw new FactoryException('Error creating table schema from array: '.$e->getMessage(), 0, $e);
throw new FactoryException('Error creating table schema from array: ' . $e->getMessage(), 0, $e);
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Slurp/SlurpFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function testCreateTableSchemaFromPath(): void
self::assertInstanceOf(
Schema::class,
$this->factory->createTableSchemaFromPath(
__DIR__.'/_fixtures/slurp_factory_test_schema.json'
__DIR__ . '/_fixtures/slurp_factory_test_schema.json'
)
);
}
Expand Down

0 comments on commit 6b26d81

Please sign in to comment.