File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
lib/internal/Magento/Framework/Code/Reader Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Framework \Code \Reader ;
7
7
8
- use Laminas \Code \Reflection \DocBlock \Tag \ParamTag ;
9
- use Laminas \Code \Reflection \DocBlockReflection ;
10
8
use Magento \Framework \GetParameterClassTrait ;
11
9
use Laminas \Code \Reflection \ParameterReflection ;
12
10
@@ -319,11 +317,10 @@ public function detectType()
319
317
320
318
$ docBlock = $ this ->parameterReflection ->getDeclaringFunction ()->getDocBlock ();
321
319
322
- if (! $ docBlock instanceof DocBlockReflection) {
320
+ if (! $ docBlock instanceof \ Laminas \ Code \ Reflection \ DocBlockReflection) {
323
321
return null ;
324
322
}
325
323
326
- /** @var ParamTag[] $params */
327
324
$ params = $ docBlock ->getTags ('param ' );
328
325
$ paramTag = $ params [$ this ->parameterReflection ->getPosition ()] ?? null ;
329
326
$ variableName = '$ ' . $ this ->parameterReflection ->getName ();
You can’t perform that action at this time.
0 commit comments