File tree Expand file tree Collapse file tree 1 file changed +15
-11
lines changed
Expand file tree Collapse file tree 1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -52,17 +52,6 @@ public function __construct(array $command, ?string $cwd = null)
5252 parent ::__construct ($ this ->useCorrectCommand ($ command ), $ cwd );
5353 }
5454
55- /**
56- * @return Generator<string, string>
57- *
58- * @codeCoverageIgnore
59- */
60- public function getIterator (int $ flags = 0 ): Generator
61- {
62- /** @var Generator<string, string> */
63- return parent ::getIterator ($ flags );
64- }
65-
6655 /**
6756 * @param string[] $command
6857 *
@@ -99,4 +88,19 @@ protected function getProcessClassName(): string
9988 {
10089 return SymfonyProcess::class;
10190 }
91+
92+ /**
93+ * @param int $flags
94+ *
95+ * @return Generator<string, string>
96+ *
97+ * @codeCoverageIgnore
98+ *
99+ * phpcs:disable SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint
100+ */
101+ public function getIterator ($ flags = 0 )
102+ {
103+ /** @var Generator<string, string> */
104+ return parent ::getIterator ($ flags );
105+ }
102106}
You can’t perform that action at this time.
0 commit comments