We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8565543 commit 836909eCopy full SHA for 836909e
src/Schema/Schema.php
@@ -14,24 +14,18 @@ interface Schema
14
{
15
/**
16
* Normalization.
17
- * @return mixed
18
*/
19
- function normalize(mixed $value, Context $context);
+ function normalize(mixed $value, Context $context): mixed;
20
21
22
* Merging.
23
24
25
- function merge(mixed $value, mixed $base);
+ function merge(mixed $value, mixed $base): mixed;
26
27
28
* Validation and finalization.
29
30
31
- function complete(mixed $value, Context $context);
+ function complete(mixed $value, Context $context): mixed;
32
33
- /**
34
35
- */
36
- function completeDefault(Context $context);
+ function completeDefault(Context $context): mixed;
37
}
0 commit comments