Skip to content

Commit 8cc682b

Browse files
committed
use concrete types
1 parent 4e26fd3 commit 8cc682b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Type/Definition/FieldDefinition.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class FieldDefinition
5858
*/
5959
public $config;
6060

61-
/** @var callable|OutputType */
61+
/** @var callable|EnumType|InterfaceType|ListOfType|NonNull|ObjectType|ScalarType|UnionType */
6262
public $type;
6363

6464
/** @var callable|string */
@@ -175,7 +175,7 @@ public function getArg($name)
175175
}
176176

177177
/**
178-
* @return Type
178+
* @return EnumType|InterfaceType|ListOfType|NonNull|ObjectType|ScalarType|UnionType
179179
*/
180180
public function getType()
181181
{

src/Type/Definition/Type.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,9 @@ public static function assertType($type)
327327
}
328328

329329
/**
330-
* @param callable|OutputType|InputType|Type $type
330+
* @param callable|Type $type
331331
*
332-
* @return OutputType|InputType|Type $type
332+
* @return Type $type
333333
*/
334334
public static function resolveLazyType($type)
335335
{

0 commit comments

Comments
 (0)