We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff797e commit 51d7724Copy full SHA for 51d7724
app/code/Magento/QuoteGraphQl/Model/BackpressureRequestTypeExtractor.php
@@ -12,7 +12,6 @@
12
use Magento\Quote\Model\Backpressure\OrderLimitConfigManager;
13
use Magento\QuoteGraphQl\Model\Resolver\PlaceOrder;
14
use Magento\QuoteGraphQl\Model\Resolver\SetPaymentAndPlaceOrder;
15
-use ReflectionException;
16
17
/**
18
* Identifies which quote fields need backpressure management
@@ -55,12 +54,9 @@ public function extract(Field $field): ?string
55
54
*
56
* @param string $class
57
* @return string
58
- * @throws ReflectionException
59
*/
60
private function resolver(string $class): string
61
{
62
- $reflectionClass = new \ReflectionClass($class);
63
-
64
- return $reflectionClass->getName();
+ return trim($class, '\\');
65
}
66
0 commit comments