Completed
Push — compatibility-v9 ( d95c29...f1f5f1 )
by Romain
12:15 queued 01:06
created
Classes/Service/Items/Persistence/PersistenceService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     /**
136 136
      * Internal function for `configurationObjectAfter()`
137 137
      *
138
-     * @param   mixed  $value                   Current value (object/array).
138
+     * @param   \Romm\ConfigurationObject\ConfigurationObjectInterface  $value                   Current value (object/array).
139 139
      * @param   array  $path                    Current property path.
140 140
      * @param   string $type                    Type of object to convert.
141 141
      * @param   object $lastObject              Internal use.
Please login to merge, or discard this patch.
Classes/ConfigurationObjectMapper.php 1 patch
Doc Comments   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,6 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
     /**
83 83
      * @inheritdoc
84
+     * @param string $targetType
84 85
      */
85 86
     public function convert($source, $targetType, PropertyMappingConfigurationInterface $configuration = null)
86 87
     {
@@ -103,6 +104,7 @@  discard block
 block discarded – undo
103 104
      * Will recursively fill all the properties of the configuration object.
104 105
      *
105 106
      * @inheritdoc
107
+     * @param string $targetType
106 108
      */
107 109
     protected function doMapping($source, $targetType, PropertyMappingConfigurationInterface $configuration, &$currentPropertyPath)
108 110
     {
@@ -219,7 +221,7 @@  discard block
 block discarded – undo
219 221
      * function `getInstanceClassName()`.
220 222
      *
221 223
      * @param mixed $source
222
-     * @param mixed $targetType
224
+     * @param string $targetType
223 225
      * @param array $currentPropertyPath
224 226
      * @return ConfigurationObjectInterface
225 227
      */
@@ -249,7 +251,7 @@  discard block
 block discarded – undo
249 251
      * check the interfaces of the class.
250 252
      *
251 253
      * @param mixed $source
252
-     * @param mixed $targetType
254
+     * @param ConfigurationObjectInterface $targetType
253 255
      * @param array $currentPropertyPath
254 256
      * @return array
255 257
      */
@@ -277,7 +279,7 @@  discard block
 block discarded – undo
277 279
      *
278 280
      * @param mixed $source
279 281
      * @param mixed $targetType
280
-     * @param mixed $configuration
282
+     * @param PropertyMappingConfigurationInterface $configuration
281 283
      * @return TypeConverterInterface
282 284
      * @throws TypeConverterException
283 285
      */
@@ -320,13 +322,17 @@  discard block
 block discarded – undo
320 322
     /**
321 323
      * Internal function that fetches the properties of a class.
322 324
      *
323
-     * @param $targetType
325
+     * @param string $targetType
324 326
      * @return array
325 327
      */
326 328
     protected function getProperties($targetType)
327 329
     {
328 330
         $properties = ReflectionService::get()->getClassReflection($targetType)->getProperties();
329 331
         $propertiesKeys = array_map(
332
+
333
+            /**
334
+             * @param string $propertyReflection
335
+             */
330 336
             function (PropertyReflection $propertyReflection) {
331 337
                 return $propertyReflection->getName();
332 338
             },
Please login to merge, or discard this patch.
Classes/Legacy/Reflection/ReflectionService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@
 block discarded – undo
268 268
     /**
269 269
      * Returns the class schema for the given class
270 270
      *
271
-     * @param mixed $classNameOrObject The class name or an object
271
+     * @param string $classNameOrObject The class name or an object
272 272
      * @return ClassSchema
273 273
      */
274 274
     public function getClassSchema($classNameOrObject)
Please login to merge, or discard this patch.
Classes/Validation/ValidatorResolver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Romm\ConfigurationObject\Validation\Validator\Internal\ConfigurationObjectValidator;
22 22
 use Romm\ConfigurationObject\Validation\Validator\Internal\MixedTypeCollectionValidator;
23 23
 use Romm\ConfigurationObject\Validation\Validator\Internal\MixedTypeValidator;
24
-use TYPO3\CMS\Extbase\Reflection\ReflectionService as ExtbaseReflectionService;
25 24
 use TYPO3\CMS\Extbase\Validation\Validator\CollectionValidator;
26 25
 use TYPO3\CMS\Extbase\Validation\Validator\ConjunctionValidator;
27 26
 use TYPO3\CMS\Extbase\Validation\Validator\GenericObjectValidator;
Please login to merge, or discard this patch.