[TASK] Fix CGL issues 65/57565/2
authorOliver Hader <oliver@typo3.org>
Thu, 12 Jul 2018 09:58:10 +0000 (11:58 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Thu, 12 Jul 2018 10:09:22 +0000 (12:09 +0200)
Resolves: #.....
Releases: master, 8.7
Change-Id: Iace5c4d064182c628e9d3b03876c73e19dd725cd
Reviewed-on: https://review.typo3.org/57565
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/form/Classes/Domain/Configuration/ConfigurationService.php

index af34d68..20ea290 100644 (file)
@@ -494,7 +494,7 @@ class ConfigurationService implements SingletonInterface
                 $propertyPathsFromHook = $hookObj->addAdditionalPropertyPaths($validationDto);
                 if (!is_array($propertyPathsFromHook)) {
                     $message = 'Return value of "%s->addAdditionalPropertyPaths() must be type "array"';
-                    throw new PropertyException(sprintf($message, $className), 1528633966);
+                    throw new PropertyException(sprintf($message, $className), 1528633965);
                 }
                 $configuration = $this->addAdditionalPropertyPathsFromHook(
                     $className,