Skip to content

Commit abda630

Browse files
committed
fixed bad return type
1 parent f57b9a8 commit abda630

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)