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.
2 parents 7d62c64 + 64fc3c2 commit b7e8ef5Copy full SHA for b7e8ef5
lib/internal/Magento/Framework/Reflection/TypeProcessor.php
@@ -555,7 +555,7 @@ public function getParamType(ParameterReflection $param)
555
if ($type == 'array') {
556
// try to determine class, if it's array of objects
557
$docBlock = $param->getDeclaringFunction()->getDocBlock();
558
- $pattern = "/\@param\s+([\w\\\_]+\[\])\s+\\\${$param->getName()}\n/";
+ $pattern = "/\@param\s+([\w\\\_]+\[\])\s+\\\${$param->getName()}[\n\r]/";
559
$matches = [];
560
if (preg_match($pattern, $docBlock->getContents(), $matches)) {
561
return $matches[1];
0 commit comments