Skip to content

Commit f57b9a8

Browse files
committed
fixed bad parameter type
1 parent a2099eb commit f57b9a8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/helpers/MetaFormats/FormatCache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ public static function formatAttributeStringCached(string $actionPath): bool
4242

4343
/**
4444
* @param string $actionPath The presenter class name joined with the name of the action method.
45-
* @param string $format The attribute format string.
45+
* @param string|null $format The attribute format string or null if there is none.
4646
*/
47-
public static function cacheFormatAttributeString(string $actionPath, string $format)
47+
public static function cacheFormatAttributeString(string $actionPath, string | null $format)
4848
{
4949
self::$actionToFormatMap[$actionPath] = $format;
5050
}

0 commit comments

Comments
 (0)