Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 2ecbacb

Browse files
committed
chore: some organization
1 parent 7161be0 commit 2ecbacb

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/Rule/GreaterThan.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public function assert(mixed $value, string $name): void
3535
throw new GreaterThanException(
3636
message: $this->options['message'],
3737
parameters: [
38+
'value' => $value,
3839
'name' => $name,
39-
'constraint' => $this->constraint,
40-
'value' => $value
40+
'constraint' => $this->constraint
4141
]
4242
);
4343
}

src/Rule/LessThan.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public function assert(mixed $value, string $name): void
3535
throw new LessThanException(
3636
message: $this->options['message'],
3737
parameters: [
38+
'value' => $value,
3839
'name' => $name,
39-
'constraint' => $this->constraint,
40-
'value' => $value
40+
'constraint' => $this->constraint
4141
]
4242
);
4343
}

src/Rule/NotBlank.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public function assert(mixed $value, string $name): void
4242
throw new NotBlankException(
4343
message: $this->options['message'],
4444
parameters: [
45-
'name' => $name,
46-
'value' => $value
45+
'value' => $value,
46+
'name' => $name
4747
]
4848
);
4949
}

0 commit comments

Comments
 (0)