@@ -146,7 +146,6 @@ private function getNameFinder()
146
146
* @param string $serviceMethodName name of the method that we are trying to call
147
147
* @param array $inputArray data to send to method in key-value format
148
148
* @return array list of parameters that can be used to call the service method
149
- * @throws InputException if no value is provided for required parameters
150
149
* @throws WebapiException
151
150
*/
152
151
public function process ($ serviceClassName , $ serviceMethodName , array $ inputArray )
@@ -230,6 +229,7 @@ private function getConstructorData(string $className, array $data): array
230
229
* @param array $data
231
230
* @return object the newly created and populated object
232
231
* @throws \Exception
232
+ * @throws SerializationException
233
233
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
234
234
*/
235
235
protected function _createFromArray ($ className , $ data )
@@ -365,10 +365,10 @@ private function getAttributesPreprocessorsMap(): array
365
365
/**
366
366
* Prepare attribute value by loaded attribute preprocessors
367
367
*
368
- * @param string $key
368
+ * @param mixed $key
369
369
* @param mixed $customAttribute
370
370
*/
371
- private function runCustomAttributePreprocessors (string $ key , &$ customAttribute )
371
+ private function runCustomAttributePreprocessors ($ key , &$ customAttribute )
372
372
{
373
373
$ preprocessorsMap = $ this ->getAttributesPreprocessorsMap ();
374
374
if ($ key && is_array ($ customAttribute ) && array_key_exists ($ key , $ preprocessorsMap )) {
@@ -386,6 +386,7 @@ private function runCustomAttributePreprocessors(string $key, &$customAttribute)
386
386
*
387
387
* @param string[] $customAttribute
388
388
* @return string[]
389
+ * @throws SerializationException
389
390
*/
390
391
private function processCustomAttribute ($ customAttribute )
391
392
{
0 commit comments