Skip to content

Commit af35d97

Browse files
[Yaml] Add missing deprecation annotation
1 parent a94764d commit af35d97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dumper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ public function __construct($indentation = 4)
4141
* Sets the indentation.
4242
*
4343
* @param int $num The amount of spaces to use for indentation of nested nodes
44+
*
45+
* @deprecated since version 3.1, to be removed in 4.0. Pass the indentation to the constructor instead.
4446
*/
4547
public function setIndentation($num)
4648
{

0 commit comments

Comments
 (0)