Completed
Pull Request — master (#2)
by
unknown
05:30
created
Classes/ConfigurationObjectMapper.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,6 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
     /**
88 88
      * @inheritdoc
89
+     * @param string $targetType
89 90
      */
90 91
     public function convert($source, $targetType, PropertyMappingConfigurationInterface $configuration = null)
91 92
     {
@@ -199,7 +200,7 @@  discard block
 block discarded – undo
199 200
      * check the interfaces of the class.
200 201
      *
201 202
      * @param mixed $source
202
-     * @param mixed $targetType
203
+     * @param string $targetType
203 204
      * @param array $currentPropertyPath
204 205
      * @return array
205 206
      */
@@ -227,7 +228,7 @@  discard block
 block discarded – undo
227 228
      * function `getInstanceClassName()`.
228 229
      *
229 230
      * @param mixed $source
230
-     * @param mixed $targetType
231
+     * @param string $targetType
231 232
      * @param array $currentPropertyPath
232 233
      * @return ConfigurationObjectInterface
233 234
      */
@@ -285,7 +286,7 @@  discard block
 block discarded – undo
285 286
      * Internal function which fetches the properties of a class, and stores
286 287
      * them in a local cache to improve performances.
287 288
      *
288
-     * @param mixed $targetType
289
+     * @param string $targetType
289 290
      * @return array|null
290 291
      */
291 292
     protected function getProperties($targetType)
Please login to merge, or discard this patch.
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.