File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ use MLL\GraphQLScalars\IntRange;
54
54
55
55
final class UpToADozen extends IntRange
56
56
{
57
- protected function min(): int
57
+ protected static function min(): int
58
58
{
59
59
return 1;
60
60
}
61
61
62
- protected function max(): int
62
+ protected static function max(): int
63
63
{
64
64
return 12;
65
65
}
Original file line number Diff line number Diff line change 12
12
abstract class IntRange extends ScalarType
13
13
{
14
14
/** The minimum allowed value. */
15
- abstract protected function min (): int ;
15
+ abstract protected static function min (): int ;
16
16
17
17
/** The maximum allowed value. */
18
- abstract protected function max (): int ;
18
+ abstract protected static function max (): int ;
19
19
20
20
public function serialize ($ value )
21
21
{
Original file line number Diff line number Diff line change 6
6
7
7
final class UpToADozen extends IntRange
8
8
{
9
- protected function min (): int
9
+ protected static function min (): int
10
10
{
11
11
return 1 ;
12
12
}
13
13
14
- protected function max (): int
14
+ protected static function max (): int
15
15
{
16
16
return 12 ;
17
17
}
You can’t perform that action at this time.
0 commit comments