File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 */
77
88use Rector \DeadCode \Rector \ClassMethod \RemoveDuplicatedReturnSelfDocblockRector ;
9+ use Rector \DeadCode \Rector \ClassMethod \RemoveReturnTagIncompatibleWithNativeTypeRector ;
910use Rector \Php81 \Rector \Property \ReadOnlyPropertyRector ;
1011use Rector \Php82 \Rector \Class_ \ReadOnlyClassRector ;
1112use Rector \PHPUnit \CodeQuality \Rector \Class_ \AddSeeTestAnnotationRector ;
7778 $ nextcloudDir . '/core/Listener/RestrictInteractionListener.php ' ,
7879 $ nextcloudDir . '/apps/files_sharing/lib/Listener/RestrictInteractionListener.php ' ,
7980 ],
81+ RemoveReturnTagIncompatibleWithNativeTypeRector::class => [
82+ $ nextcloudDir . '/lib/public/Sharing/Property/ISharePropertyType.php ' ,
83+ $ nextcloudDir . '/lib/public/Sharing/Property/ShareProperty.php ' ,
84+ ],
8085 // `@return $this` is more specific than the native `: self` on a
8186 // non-final type; removing it breaks psalm's
8287 // LessSpecificImplementedReturnType check (psalm-strict).
You can’t perform that action at this time.
0 commit comments