Skip to content

Commit d77ec7d

Browse files
Merge branch '7.4' into 8.0
* 7.4: (21 commits) [ObjectMapper] lazy loading [Filesystem] Unify logic for isAbsolute() in Path [DependencyInjection] Include return type in AppReference shape [Finder] Make method calls explicit in ExcludeDirectoryFilterIterator [Cache] Remove unset call on undefined variable in PhpArrayAdapter [Twig] Ensure WrappedTemplatedEmail::getReturnPath() returns a string [Routing] Simplify importing routes defined on controller services Fix tests [DependendcyInjection] Improve shape for "from_callable" definitions [PHPDoc] Fix various PHPDoc syntax errors [Console] Add missing VERBOSITY_SILENT case in CommandDataCollector [Notifier] Remove unused $transportName argument in EmailChannel::notify() [Translation] Remove an unused argument passed to parseNode() method [HttpClient] Reject 3xx pushed responses [Serializer] Use Asia/Tokyo instead of Japan in tests [ProxyManagerBridge] Remove comment that reference github discussion [JsonPath] Remove unused "nothing" property from JsonCrawler [ErrorHandler] Improve PHPDoc precision in SerializerErrorRenderer [Routing] Fix matching the "0" URL [Form] Fix EnumType choice_label logic for grouped choices ...
2 parents e483666 + 48be2b0 commit d77ec7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ErrorRenderer/SerializerErrorRenderer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ class SerializerErrorRenderer implements ErrorRendererInterface
2929
private bool|\Closure $debug;
3030

3131
/**
32-
* @param string|callable(FlattenException) $format The format as a string or a callable that should return it
33-
* formats not supported by Request::getMimeTypes() should be given as mime types
34-
* @param bool|callable $debug The debugging mode as a boolean or a callable that should return it
32+
* @param string|callable(FlattenException): string $format The format as a string or a callable that should return it
33+
* formats not supported by Request::getMimeTypes() should be given as mime types
34+
* @param bool|callable $debug The debugging mode as a boolean or a callable that should return it
3535
*/
3636
public function __construct(
3737
private SerializerInterface $serializer,

0 commit comments

Comments
 (0)