@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | private bool $byValue; |
19 | 19 | |
20 | 20 | /** @var string|null Documentation for the entity within GraphQL */ |
21 | - private string|null $description = null; |
|
21 | + private string | null $description = null; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * @var mixed[] An array of filters as |
@@ -37,10 +37,10 @@ discard block |
||
37 | 37 | public function __construct( |
38 | 38 | string $group = 'default', |
39 | 39 | bool $byValue = true, |
40 | - string|null $description = null, |
|
41 | - private string|null $typeName = null, |
|
40 | + string | null $description = null, |
|
41 | + private string | null $typeName = null, |
|
42 | 42 | array $filters = [], |
43 | - private string|null $namingStrategy = null, |
|
43 | + private string | null $namingStrategy = null, |
|
44 | 44 | private array $excludeCriteria = [], |
45 | 45 | private array $includeCriteria = [], |
46 | 46 | ) { |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | $this->filters = $filters; |
51 | 51 | } |
52 | 52 | |
53 | - public function getGroup(): string|null |
|
53 | + public function getGroup(): string | null |
|
54 | 54 | { |
55 | 55 | return $this->group; |
56 | 56 | } |
@@ -60,12 +60,12 @@ discard block |
||
60 | 60 | return $this->byValue; |
61 | 61 | } |
62 | 62 | |
63 | - public function getDescription(): string|null |
|
63 | + public function getDescription(): string | null |
|
64 | 64 | { |
65 | 65 | return $this->description; |
66 | 66 | } |
67 | 67 | |
68 | - public function getTypeName(): string|null |
|
68 | + public function getTypeName(): string | null |
|
69 | 69 | { |
70 | 70 | return $this->typeName; |
71 | 71 | } |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | return $this->filters; |
77 | 77 | } |
78 | 78 | |
79 | - public function getNamingStrategy(): string|null |
|
79 | + public function getNamingStrategy(): string | null |
|
80 | 80 | { |
81 | 81 | return $this->namingStrategy; |
82 | 82 | } |
@@ -17,11 +17,11 @@ discard block |
||
17 | 17 | */ |
18 | 18 | public function __construct( |
19 | 19 | protected string $group = 'default', |
20 | - protected string|null $strategy = null, |
|
21 | - protected string|null $description = null, |
|
20 | + protected string | null $strategy = null, |
|
21 | + protected string | null $description = null, |
|
22 | 22 | protected array $excludeCriteria = [], |
23 | 23 | protected array $includeCriteria = [], |
24 | - protected string|null $filterCriteriaEventName = null, |
|
24 | + protected string | null $filterCriteriaEventName = null, |
|
25 | 25 | ) { |
26 | 26 | } |
27 | 27 | |
@@ -30,17 +30,17 @@ discard block |
||
30 | 30 | return $this->group; |
31 | 31 | } |
32 | 32 | |
33 | - public function getStrategy(): string|null |
|
33 | + public function getStrategy(): string | null |
|
34 | 34 | { |
35 | 35 | return $this->strategy; |
36 | 36 | } |
37 | 37 | |
38 | - public function getDescription(): string|null |
|
38 | + public function getDescription(): string | null |
|
39 | 39 | { |
40 | 40 | return $this->description; |
41 | 41 | } |
42 | 42 | |
43 | - public function getFilterCriteriaEventName(): string|null |
|
43 | + public function getFilterCriteriaEventName(): string | null |
|
44 | 44 | { |
45 | 45 | return $this->filterCriteriaEventName; |
46 | 46 | } |
@@ -17,9 +17,9 @@ discard block |
||
17 | 17 | */ |
18 | 18 | public function __construct( |
19 | 19 | protected string $group = 'default', |
20 | - protected string|null $strategy = null, |
|
21 | - protected string|null $description = null, |
|
22 | - protected string|null $type = null, |
|
20 | + protected string | null $strategy = null, |
|
21 | + protected string | null $description = null, |
|
22 | + protected string | null $type = null, |
|
23 | 23 | private array $excludeCriteria = [], |
24 | 24 | private array $includeCriteria = [], |
25 | 25 | ) { |
@@ -30,17 +30,17 @@ discard block |
||
30 | 30 | return $this->group; |
31 | 31 | } |
32 | 32 | |
33 | - public function getStrategy(): string|null |
|
33 | + public function getStrategy(): string | null |
|
34 | 34 | { |
35 | 35 | return $this->strategy; |
36 | 36 | } |
37 | 37 | |
38 | - public function getDescription(): string|null |
|
38 | + public function getDescription(): string | null |
|
39 | 39 | { |
40 | 40 | return $this->description; |
41 | 41 | } |
42 | 42 | |
43 | - public function getType(): string|null |
|
43 | + public function getType(): string | null |
|
44 | 44 | { |
45 | 45 | return $this->type; |
46 | 46 | } |