File tree Expand file tree Collapse file tree 3 files changed +22
-23
lines changed Expand file tree Collapse file tree 3 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 1
- tests export-ignore
2
- .gitattributes export-ignore
3
- .gitignore export-ignore
4
- .styleci.yml export-ignore
5
- .travis.yml export-ignore
6
- docker-compose.yml export-ignore
7
- Dockerfile export-ignore
8
- Makefile export-ignore
9
- phpstan.neon export-ignore
10
- phpunit.xml export-ignore
1
+ / tests export-ignore
2
+ / .gitattributes export-ignore
3
+ / .gitignore export-ignore
4
+ / .styleci.yml export-ignore
5
+ / .travis.yml export-ignore
6
+ / docker-compose.yml export-ignore
7
+ / Dockerfile export-ignore
8
+ / Makefile export-ignore
9
+ / phpstan.neon export-ignore
10
+ / phpunit.xml export-ignore
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " mll-lab/graphql-php-scalars" ,
3
- "description" : " A collection of custom scalar types for usage with https://github.com/webonyx/graphql-php" ,
4
3
"type" : " library" ,
5
- "keywords" : [" graphql" , " php" ],
4
+ "description" : " A collection of custom scalar types for usage with https://github.com/webonyx/graphql-php" ,
5
+ "keywords" : [
6
+ " graphql" ,
7
+ " php"
8
+ ],
6
9
"license" : " MIT" ,
7
10
"authors" : [
8
11
{
12
15
],
13
16
"require" : {
14
17
"php" : " >=7.2" ,
15
- "webonyx/graphql-php" : " ^0.13.8" ,
16
- "spatie/regex" : " ^1.4.1" ,
17
18
"egulias/email-validator" : " ^2.1.17" ,
18
- "thecodingmachine/safe" : " ^1.0.3"
19
+ "spatie/regex" : " ^1.4.1" ,
20
+ "thecodingmachine/safe" : " ^1.0.3" ,
21
+ "webonyx/graphql-php" : " ^0.13.8"
19
22
},
20
23
"require-dev" : {
21
24
"ext-json" : " *" ,
22
- "phpunit/phpunit" : " ^8.5.2" ,
23
- "psy/psysh" : " ^0.9.12" ,
24
- "phpstan/phpstan" : " ^0.12.11" ,
25
+ "phpstan/phpstan" : " ^0.12.19" ,
26
+ "phpunit/phpunit" : " ^8.5.3" ,
25
27
"thecodingmachine/phpstan-safe-rule" : " ^1.0.0"
26
28
},
27
29
"autoload" : {
28
- "files" : [
29
- " src/utils.php"
30
- ],
31
30
"psr-4" : {
32
31
"MLL\\ GraphQLScalars\\ " : " src"
33
32
}
Original file line number Diff line number Diff line change 4
4
5
5
namespace MLL \GraphQLScalars ;
6
6
7
- use GraphQL \Language \AST \ValueNode ;
7
+ use GraphQL \Language \AST \Node ;
8
8
use GraphQL \Type \Definition \ScalarType ;
9
9
use GraphQL \Utils \AST ;
10
10
@@ -44,7 +44,7 @@ public function parseValue($value)
44
44
*
45
45
* In the case of an invalid node or value, this method must throw an Exception.
46
46
*
47
- * @param ValueNode $valueNode
47
+ * @param Node $valueNode
48
48
* @param mixed[]|null $variables
49
49
*
50
50
* @throws \Exception
You can’t perform that action at this time.
0 commit comments