#110065DataHandler->errorLog type is not specific enough
Description
Official docs explain how to use this internal property for error handling: https://docs.typo3.org/permalink/t3coreapi:tcemain-error-handling
But the property is only hinted with array and misses the more specific PHPDocBlock to specify that this is a list of strings.
That leads to PHPStan errors in consuming code like:
self::assertCount(0, $dataHandler->errorLog, 'Failed with errors: ' . implode(PHP_EOL, $dataHandler->errorLog));
85 Parameter #2 $array of function implode expects array<string>, array
given.
🪪 argument.type
I’d therefore recommend to add a proper more specific type hint.
Reviews 2
History 27
-
Gerrit Code Review pushed patch set 1 for main to change 94522 status
NewUnder Review <span data-processor="relativetime" data-value="2026-06-17T06:20:06+00:00" > 06/17/26, 06:20 </span> -
Gerrit Code Review pushed patch set 2 for main to change 94522 <span data-processor="relativetime" data-value="2026-06-17T06:22:43+00:00" > 06/17/26, 06:22 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 94522 <span data-processor="relativetime" data-value="2026-06-17T08:07:19+00:00" > 06/17/26, 08:07 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 94522 <span data-processor="relativetime" data-value="2026-06-18T08:46:00+00:00" > 06/18/26, 08:46 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 94526 <span data-processor="relativetime" data-value="2026-06-18T09:41:29+00:00" > 06/18/26, 09:41 </span>
-
Daniel Siepmann commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-06-18T09:45:12+00:00" > 06/18/26, 09:45 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-08-11T08:50:55+00:00" > 08/11/26, 08:50 </span>
Applied in changeset commit:05dfd359f81f166f8b3bf99aac4f217ba677b237.