We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Dumper
1 parent 96baa90 commit 8e82cc9Copy full SHA for 8e82cc9
Dumper.php
@@ -23,17 +23,13 @@
23
class Dumper
24
{
25
/**
26
- * The amount of spaces to use for indentation of nested nodes.
+ * @param int $indentation The amount of spaces to use for indentation of nested nodes
27
*/
28
- private int $indentation;
29
-
30
- public function __construct(int $indentation = 4)
+ public function __construct(private int $indentation = 4)
31
32
if ($indentation < 1) {
33
throw new \InvalidArgumentException('The indentation must be greater than zero.');
34
}
35
36
- $this->indentation = $indentation;
37
38
39
0 commit comments