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.
1 parent f9f9717 commit 0d8da6eCopy full SHA for 0d8da6e
Symfony/CS/Fixer/Symfony/PhpdocTypesFixer.php
@@ -34,6 +34,7 @@ final class PhpdocTypesFixer extends AbstractPhpdocTypesFixer
34
'float',
35
'int',
36
'integer',
37
+ 'iterable',
38
'mixed',
39
'null',
40
'object',
Symfony/CS/Tests/Fixer/Symfony/PhpdocTypesFixerTest.php
@@ -87,6 +87,30 @@ public function testMixedAndVoid()
87
* @return Void
88
*/
89
90
+EOF;
91
+ $this->makeTest($expected, $input);
92
+ }
93
+
94
+ public function testIterableFix()
95
+ {
96
+ $expected = <<<'EOF'
97
+<?php
98
+ /**
99
+ * @param iterable $foo
100
+ *
101
+ * @return Itter
102
+ */
103
104
105
106
+ $input = <<<'EOF'
107
108
109
+ * @param Iterable $foo
110
111
112
113
114
EOF;
115
$this->makeTest($expected, $input);
116
}
0 commit comments