Skip to content

Commit b0030d1

Browse files
committed
style: Correct code style violations
1 parent 98353d0 commit b0030d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/JsonSchema/Constraints/Drafts/Draft07/IfThenElseConstraint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace JsonSchema\Constraints\Drafts\Draft07;
66

7-
use JsonSchema\ConstraintError;
87
use JsonSchema\Constraints\ConstraintInterface;
98
use JsonSchema\Entity\ErrorBagProxy;
109
use JsonSchema\Entity\JsonPointer;
@@ -50,6 +49,7 @@ public function check(&$value, $schema = null, ?JsonPointer $path = null, $i = n
5049
}
5150

5251
$this->addErrors($schemaConstraint->getErrors());
52+
5353
return;
5454
}
5555

src/JsonSchema/DraftIdentifiers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class DraftIdentifiers extends Enum
2121
public const DRAFT_2019_09 = 'https://json-schema.org/draft/2019-09/schema';
2222
public const DRAFT_2020_12 = 'https://json-schema.org/draft/2020-12/schema';
2323

24-
/** @var array<DraftIdentifiers::DRAFT_*, string> */
24+
/** @var array<DraftIdentifiers::DRAFT_*, string> */
2525
private const MAPPING = [
2626
self::DRAFT_3 => 'draft03',
2727
self::DRAFT_4 => 'draft04',

0 commit comments

Comments
 (0)