We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2099eb commit f57b9a8Copy full SHA for f57b9a8
1 file changed
app/helpers/MetaFormats/FormatCache.php
@@ -42,9 +42,9 @@ public static function formatAttributeStringCached(string $actionPath): bool
42
43
/**
44
* @param string $actionPath The presenter class name joined with the name of the action method.
45
- * @param string $format The attribute format string.
+ * @param string|null $format The attribute format string or null if there is none.
46
*/
47
- public static function cacheFormatAttributeString(string $actionPath, string $format)
+ public static function cacheFormatAttributeString(string $actionPath, string | null $format)
48
{
49
self::$actionToFormatMap[$actionPath] = $format;
50
}
0 commit comments