From 76dd3c31234b1bb527e36e88eacbd8d6d33c3819 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sat, 21 Mar 2020 10:54:10 +0100 Subject: [PATCH] Use ::class constant instead of string with class name --- src/Framework/TestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Framework/TestCase.php b/src/Framework/TestCase.php index a9b3236a617..f51c2b455f5 100644 --- a/src/Framework/TestCase.php +++ b/src/Framework/TestCase.php @@ -1734,7 +1734,7 @@ protected function getMockForAbstractClass(string $originalClassName, array $arg */ protected function getMockFromWsdl($wsdlFile, $originalClassName = '', $mockClassName = '', array $methods = [], $callOriginalConstructor = true, array $options = []): MockObject { - $this->recordDoubledType('SoapClient'); + $this->recordDoubledType(SoapClient::class); if ($originalClassName === '') { $fileName = \pathinfo(\basename(\parse_url($wsdlFile)['path']), \PATHINFO_FILENAME);