Skip to content

Commit 529674e

Browse files
committed
linting
1 parent 9d290a5 commit 529674e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/JsonSchema/Constraints/ConstConstraint.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
namespace JsonSchema\Constraints;
1111

12+
use Icecave\Parity\Parity;
1213
use JsonSchema\ConstraintError;
1314
use JsonSchema\Entity\JsonPointer;
14-
use Icecave\Parity\Parity;
1515

1616
/**
1717
* The ConstConstraint Constraints, validates an element against a constant value
@@ -40,7 +40,7 @@ public function check(&$element, $schema = null, JsonPointer $path = null, $i =
4040
}
4141
}
4242

43-
if(Parity::isEqualTo($element, $const)){
43+
if (Parity::isEqualTo($element, $const)) {
4444
return;
4545
}
4646

src/JsonSchema/Constraints/EnumConstraint.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
namespace JsonSchema\Constraints;
1111

12+
use Icecave\Parity\Parity;
1213
use JsonSchema\ConstraintError;
1314
use JsonSchema\Entity\JsonPointer;
14-
use Icecave\Parity\Parity;
1515

1616
/**
1717
* The EnumConstraint Constraints, validates an element against a given set of possibilities
@@ -41,7 +41,7 @@ public function check(&$element, $schema = null, JsonPointer $path = null, $i =
4141
}
4242

4343
if ($type === gettype($enum)) {
44-
if(Parity::isEqualTo($element, $enum)){
44+
if (Parity::isEqualTo($element, $enum)) {
4545
return;
4646
}
4747
}

0 commit comments

Comments
 (0)