diff --git a/components/var_dumper.rst b/components/var_dumper.rst index bc14c970fa9..56da6d2f5da 100644 --- a/components/var_dumper.rst +++ b/components/var_dumper.rst @@ -627,7 +627,7 @@ For example, to get a dump as a string in a variable, you can do:: $dumper->dump( $cloner->cloneVar($variable), - function (int $line, int $depth) use (&$output): void { + function (string $line, int $depth) use (&$output): void { // A negative depth means "end of dump" if ($depth >= 0) { // Adds a two spaces indentation to the line
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: