Skip to content

Commit f248c8c

Browse files
committed
fix
1 parent d7e0401 commit f248c8c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 3.0.0 - 2025-08-13
3+
## 3.0.1 - 2025-08-13
44
- Allow already decoded values to be used
55

66
## 2.2.0 - 2025-08-05

src/Contracts/JsonSchemaValidationResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ public function getSchemaName(): ?string;
1919

2020
public function getSchema(): ?SchemaContract;
2121

22-
public function getData(): ?string;
22+
public function getData(): mixed;
2323
}

src/ValidationResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function __construct(
1111
protected bool $result,
1212
protected string $schemaName,
1313
protected ?SchemaContract $schema = null,
14-
protected ?string $data = null,
14+
protected mixed $data = null,
1515
protected ?Throwable $exception = null,
1616
) {
1717
//
@@ -47,7 +47,7 @@ public function getSchema(): ?SchemaContract
4747
return $this->schema;
4848
}
4949

50-
public function getData(): ?string
50+
public function getData(): mixed
5151
{
5252
return $this->data;
5353
}

0 commit comments

Comments
 (0)