Skip to content

Commit 47a3228

Browse files
Fix Static Tests build
1 parent 34f7eaf commit 47a3228

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed

lib/internal/Magento/Framework/Code/Reader/ClassReader.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@
55
*/
66
namespace Magento\Framework\Code\Reader;
77

8+
/**
9+
* Class ClassReader
10+
*/
811
class ClassReader implements ClassReaderInterface
912
{
1013
/**
1114
* Read class constructor signature
1215
*
13-
* @param string $className
16+
* @param string $className
1417
* @return array|null
1518
* @throws \ReflectionException
1619
*/
@@ -42,7 +45,9 @@ public function getConstructor($className)
4245
}
4346

4447
/**
45-
* @param \ReflectionParameter $parameter
48+
* Get reflection parameter default value
49+
*
50+
* @param \ReflectionParameter $parameter
4651
* @return array|mixed|null
4752
*/
4853
private function getReflectionParameterDefaultValue(\ReflectionParameter $parameter)
@@ -63,7 +68,7 @@ private function getReflectionParameterDefaultValue(\ReflectionParameter $parame
6368
* ...
6469
* )
6570
*
66-
* @param string $className
71+
* @param string $className
6772
* @return string[]
6873
*/
6974
public function getParents($className)

lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
use Psr\Log\LoggerInterface;
1212
use Magento\Framework\App\ObjectManager;
1313

14+
/**
15+
* Class AbstractFactory
16+
*/
1417
abstract class AbstractFactory implements \Magento\Framework\ObjectManager\FactoryInterface
1518
{
1619
/**
@@ -49,10 +52,10 @@ abstract class AbstractFactory implements \Magento\Framework\ObjectManager\Facto
4952
protected $creationStack = [];
5053

5154
/**
52-
* @param \Magento\Framework\ObjectManager\ConfigInterface $config
53-
* @param ObjectManagerInterface $objectManager
55+
* @param \Magento\Framework\ObjectManager\ConfigInterface $config
56+
* @param ObjectManagerInterface $objectManager
5457
* @param \Magento\Framework\ObjectManager\DefinitionInterface $definitions
55-
* @param array $globalArguments
58+
* @param array $globalArguments
5659
*/
5760
public function __construct(
5861
\Magento\Framework\ObjectManager\ConfigInterface $config,
@@ -91,6 +94,8 @@ public function setArguments($arguments)
9194
}
9295

9396
/**
97+
* Get definitions
98+
*
9499
* @return \Magento\Framework\ObjectManager\DefinitionInterface
95100
*/
96101
public function getDefinitions()
@@ -105,7 +110,7 @@ public function getDefinitions()
105110
* Create object
106111
*
107112
* @param string $type
108-
* @param array $args
113+
* @param array $args
109114
*
110115
* @return object
111116
* @throws RuntimeException
@@ -130,9 +135,9 @@ protected function createObject($type, $args)
130135
/**
131136
* Resolve an argument
132137
*
133-
* @param array &$argument
138+
* @param array &$argument
134139
* @param string $paramType
135-
* @param mixed $paramDefault
140+
* @param mixed $paramDefault
136141
* @param string $paramName
137142
* @param string $requestedType
138143
*
@@ -214,8 +219,8 @@ protected function parseArray(&$array)
214219
* Resolve constructor arguments
215220
*
216221
* @param string $requestedType
217-
* @param array $parameters
218-
* @param array $arguments
222+
* @param array $parameters
223+
* @param array $arguments
219224
*
220225
* @return array
221226
*

0 commit comments

Comments
 (0)