File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
app/code/Magento/Eav/Model
lib/internal/Magento/Framework/Webapi Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ class TypeLocator implements CustomAttributeTypeLocatorInterface
28
28
/**
29
29
* Initialize TypeLocator
30
30
*
31
+ * @param ServiceTypeListInterface $serviceTypeList
31
32
* @param \Magento\Framework\Webapi\CustomAttributeTypeLocatorInterface[] $typeLocators
32
33
*/
33
34
public function __construct (
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function __construct($serviceTypeToEntityTypeMap)
37
37
public function getEntityType (string $ serviceType )
38
38
{
39
39
if (isset ($ this ->serviceTypeToEntityTypeMap [$ serviceType ])) {
40
- return $ this ->serviceTypeToEntityTypeMap ;
40
+ return $ this ->serviceTypeToEntityTypeMap [ $ serviceType ] ;
41
41
}
42
42
43
43
return false ;
You can’t perform that action at this time.
0 commit comments