File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lib/internal/Magento/Framework/Reflection Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -480,12 +480,12 @@ public function getParamType(ParameterReflection $param)
480
480
$ type = $ param ->getType ();
481
481
if ($ param ->getType () == 'null ' ) {
482
482
throw new \LogicException (sprintf (
483
- '@param annotation is incorrect for the parameter "%s" in the method "%s:%s". '
484
- . ' First declared type should not be null. E.g. string|null ' ,
485
- $ param ->getName (),
486
- $ param ->getDeclaringClass ()->getName (),
487
- $ param ->getDeclaringFunction ()->name
488
- ));
483
+ '@param annotation is incorrect for the parameter "%s" in the method "%s:%s". '
484
+ . ' First declared type should not be null. E.g. string|null ' ,
485
+ $ param ->getName (),
486
+ $ param ->getDeclaringClass ()->getName (),
487
+ $ param ->getDeclaringFunction ()->name
488
+ ));
489
489
}
490
490
if ($ type == 'array ' ) {
491
491
// try to determine class, if it's array of objects
You can’t perform that action at this time.
0 commit comments