File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
Testing/PHPUnit/ValueObject Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 55namespace Rector \Testing \PHPUnit \ValueObject ;
66
77use Rector \Contract \Rector \RectorInterface ;
8- use Rector \PostRector \Contract \Rector \PostRectorInterface ;
98use Rector \Util \RectorClassesSorter ;
109use Rector \ValueObject \ProcessResult ;
1110
@@ -26,7 +25,7 @@ public function getChangedContents(): string
2625 }
2726
2827 /**
29- * @return array<class-string<RectorInterface|PostRectorInterface >>
28+ * @return array<class-string<RectorInterface>>
3029 */
3130 public function getAppliedRectorClasses (): array
3231 {
Original file line number Diff line number Diff line change 77use Rector \Contract \Rector \RectorInterface ;
88use Rector \PostRector \Contract \Rector \PostRectorInterface ;
99
10- /**
11- * This class ensure the PostRectorInterface class names listed after main RectorInterface class names
12- */
1310final class RectorClassesSorter
1411{
1512 /**
1613 * @param array<class-string<RectorInterface|PostRectorInterface>> $rectorClasses
17- * @return array<class-string<RectorInterface|PostRectorInterface >>
14+ * @return array<class-string<RectorInterface>>
1815 */
1916 public static function sortAndFilterOutPostRectors (array $ rectorClasses ): array
2017 {
Original file line number Diff line number Diff line change 88use Rector \ChangesReporting \ValueObject \RectorWithLineChange ;
99use Rector \Contract \Rector \RectorInterface ;
1010use Rector \Parallel \ValueObject \BridgeItem ;
11- use Rector \PostRector \Contract \Rector \PostRectorInterface ;
1211use Rector \Util \RectorClassesSorter ;
1312use Symplify \EasyParallel \Contract \SerializableInterface ;
1413use Webmozart \Assert \Assert ;
@@ -83,7 +82,7 @@ public function getRectorShortClasses(): array
8382 }
8483
8584 /**
86- * @return array<class-string<RectorInterface|PostRectorInterface >>
85+ * @return array<class-string<RectorInterface>>
8786 */
8887 public function getRectorClasses (): array
8988 {
You can’t perform that action at this time.
0 commit comments