File tree Expand file tree Collapse file tree
rules/Php85/Rector/Expression Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010use Rector \Php85 \Rector \ArrayDimFetch \ArrayFirstLastRector ;
1111use Rector \Php85 \Rector \ClassMethod \NullDebugInfoReturnRector ;
1212use Rector \Php85 \Rector \Const_ \DeprecatedAnnotationToDeprecatedAttributeRector ;
13+ use Rector \Php85 \Rector \Expression \ReplaceHttpResponseHeaderRector ;
1314use Rector \Php85 \Rector \FuncCall \ArrayKeyExistsNullToEmptyStringRector ;
1415use Rector \Php85 \Rector \FuncCall \ChrArgModuloRector ;
1516use Rector \Php85 \Rector \FuncCall \OrdSingleByteRector ;
3940 ArrayKeyExistsNullToEmptyStringRector::class,
4041 ChrArgModuloRector::class,
4142 OrdSingleByteRector::class,
43+ ReplaceHttpResponseHeaderRector::class,
4244 ]
4345 );
4446
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ public function getNodeTypes(): array
6464 }
6565
6666 /**
67- * @param Variable $node
67+ * @param Node $node
68+ * @return array<int, Node>
6869 */
6970 public function refactor (Node $ node ): ?Array
7071 {
You can’t perform that action at this time.
0 commit comments