Skip to content

Commit 4ee52d3

Browse files
simPodvladar
andauthored
Remove deprecated Type::getInternalTypes() (#821)
Co-authored-by: Vladimir Razuvaev <[email protected]>
1 parent ba9e3e2 commit 4ee52d3

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
#### Unreleased
44
- PHP version required: 7.4+
5+
- Removed deprecated `Type::getInternalTypes()`
56
- Remove deprecated `GraphQL::execute()`
67

8+
79
#### 14.6.1
810

911
Fix:

src/Type/Definition/Type.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
use function implode;
1919
use function in_array;
2020
use function preg_replace;
21-
use function trigger_error;
22-
23-
use const E_USER_DEPRECATED;
2421

2522
/**
2623
* Registry of standard GraphQL types
@@ -175,20 +172,6 @@ public static function getStandardTypes()
175172
];
176173
}
177174

178-
/**
179-
* @deprecated Use method getStandardTypes() instead
180-
*
181-
* @return Type[]
182-
*
183-
* @codeCoverageIgnore
184-
*/
185-
public static function getInternalTypes()
186-
{
187-
trigger_error(__METHOD__ . ' is deprecated. Use Type::getStandardTypes() instead', E_USER_DEPRECATED);
188-
189-
return self::getStandardTypes();
190-
}
191-
192175
/**
193176
* @param array<string, ScalarType> $types
194177
*/

0 commit comments

Comments
 (0)