File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/SearchBy/Operators/Comparison Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
use LastDragon_ru \LaraASP \GraphQL \SearchBy \Operators \BaseOperator ;
11
11
12
12
class Between extends BaseOperator implements ComparisonOperator, OperatorNegationable, OperatorHasTypesForScalar {
13
- protected const TYPE_RANGE = 'Range ' ;
13
+ protected const TypeRange = 'Range ' ;
14
14
15
15
public function getName (): string {
16
16
return 'between ' ;
@@ -24,15 +24,15 @@ protected function getDescription(): string {
24
24
* @inheritdoc
25
25
*/
26
26
public function getDefinition (array $ map , string $ scalar , bool $ nullable ): string {
27
- return parent ::getDefinition ($ map , $ map [self ::TYPE_RANGE ], true );
27
+ return parent ::getDefinition ($ map , $ map [self ::TypeRange ], true );
28
28
}
29
29
30
30
/**
31
31
* @inheritdoc
32
32
*/
33
33
public function getTypeDefinitionsForScalar (string $ prefix , string $ scalar ): array {
34
34
return [
35
- self ::TYPE_RANGE => Parser::inputObjectTypeDefinition (
35
+ self ::TypeRange => Parser::inputObjectTypeDefinition (
36
36
/** @lang GraphQL */
37
37
<<<GRAPHQL
38
38
input {$ prefix } {
You can’t perform that action at this time.
0 commit comments