Skip to content

Commit f978665

Browse files
committed
AC-10815 - API Input validation
1 parent 91995dc commit f978665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Webapi/ServiceInputProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ protected function _createFromArray($className, $data)
281281
if (is_subclass_of($className, \SimpleXMLElement::class)
282282
|| is_subclass_of($className, \DOMElement::class)) {
283283
throw new SerializationException(
284-
new Phrase('Invalid data type.')
284+
new Phrase('Invalid data type')
285285
);
286286
}
287287
$class = new ClassReflection($className);

0 commit comments

Comments
 (0)