Skip to content

Commit 2b489ea

Browse files
committed
style: Correct code style violations
1 parent 90cbbe6 commit 2b489ea

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/JsonSchema/DraftIdentifiers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public function toConstraintName(): string
3838
return 'draft2019-09';
3939
case self::DRAFT_2020_12:
4040
return 'draft2020-12';
41-
4241
}
4342

4443
throw new \Exception('Unsupported schema URI: ' . $this->getValue());

tests/Constraints/VeryBaseTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function getUriRetrieverMock($schema): object
4040
if (strpos($args[0], DraftIdentifiers::DRAFT_4()->withoutFragment()) === 0) {
4141
return $that->getDraftSchema('json-schema-draft-04.json');
4242
}
43-
if (strpos($args[0],DraftIdentifiers::DRAFT_6()->withoutFragment()) === 0) {
43+
if (strpos($args[0], DraftIdentifiers::DRAFT_6()->withoutFragment()) === 0) {
4444
return $that->getDraftSchema('json-schema-draft-06.json');
4545
}
4646

0 commit comments

Comments
 (0)