Commit 7c4b8766 authored by Marc Egger's avatar Marc Egger
Browse files

Refs #10120 remove return type ?string since ? is not supported by the PHP...

Refs #10120 remove return type ?string since ? is not supported by the PHP version of the gitlab runner. very sad.
parent 55949995
Pipeline #3644 failed with stages
in 2 minutes and 23 seconds
......@@ -387,7 +387,7 @@ class FormAsFile
* @throws \DbException
* @throws \UserFormException
*/
public static function formNameFromFormRelatedRecord(int $recordId, string $recordTable, Database $database): ?string
public static function formNameFromFormRelatedRecord(int $recordId, string $recordTable, Database $database)
{
if ($recordId === 0) {
return null;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment