Skip to content

Commit 8c9aa73

Browse files
committed
Merge branch 'output-formats' into format-performance-testing
2 parents 13af607 + abda630 commit 8c9aa73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/helpers/MetaFormats/FormatCache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ public static function cacheFormatAttributeString(string $actionPath, string | n
5151

5252
/**
5353
* @param string $actionPath The presenter class name joined with the name of the action method.
54-
* @return bool Returns action Format attribute string.
54+
* @return string|null Returns action Format attribute string or null if there is no Format attribute.
5555
*/
56-
public static function getFormatAttributeString(string $actionPath): string
56+
public static function getFormatAttributeString(string $actionPath): string | null
5757
{
5858
return self::$actionToFormatMap[$actionPath];
5959
}

0 commit comments

Comments
 (0)