File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 77use Rector \DeadCode \Rector \ClassMethod \RemoveNullTagValueNodeRector ;
88use Rector \DeadCode \Rector \ClassMethod \RemoveUselessReturnTagRector ;
99use Rector \Strict \Rector \Empty_ \DisallowedEmptyRuleFixerRector ;
10+ use Rector \TypeDeclarationDocblocks \Rector \ClassMethod \DocblockReturnArrayFromDirectArrayInstanceRector ;
1011use Rector \ValueObject \PhpVersion ;
1112
1213return RectorConfig::configure ()
2122 MakeInheritedMethodVisibilitySameAsParentRector::class,
2223 RemoveNullTagValueNodeRector::class,
2324 RemoveUselessReturnTagRector::class,
25+ DocblockReturnArrayFromDirectArrayInstanceRector::class => [
26+ __DIR__ . '/src/Mailer/Transport/QueueTransport.php ' ,
27+ ],
2428 ])
2529 ->withParallel ()
2630 ->withPreparedSets (
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ class QueueTransport extends AbstractTransport
3636
3737 /**
3838 * @inheritDoc
39- * @return array<string, string>
4039 */
4140 public function send (Message $ message ): array
4241 {
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ public function testQueueProcessesWithLogger()
142142
143143 /**
144144 * Data provider for testQueueProcessesJob method
145+ *
145146 * @return array<string, array<class-string<\TestApp\Job\LogToDebugJob>|string[]>>
146147 */
147148 public static function dataProviderCallableTypes (): array
You can’t perform that action at this time.
0 commit comments