Skip to content

Commit 13fa633

Browse files
committed
Updated Rector to commit 1b1807b0f8426641e13e5914389e1c118b3a3d14
rectorphp/rector-src@1b1807b [Privatization] Skip with parameter on PrivatizeLocalGetterToPropertyRector (#6412)
1 parent 10f5ce7 commit 13fa633

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

rules/Privatization/Rector/MethodCall/PrivatizeLocalGetterToPropertyRector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ public function refactor(Node $node) : ?Node
107107
}
108108
private function matchLocalPropertyFetchInGetterMethod(ClassMethod $classMethod) : ?PropertyFetch
109109
{
110+
if ($classMethod->params !== []) {
111+
return null;
112+
}
110113
$stmts = (array) $classMethod->stmts;
111114
if (\count($stmts) !== 1) {
112115
return null;

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '293eb9701e8035c7d1e57ba0627a637ad70c7c16';
22+
public const PACKAGE_VERSION = '1b1807b0f8426641e13e5914389e1c118b3a3d14';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2024-11-06 20:29:42';
27+
public const RELEASE_DATE = '2024-11-08 17:26:04';
2828
/**
2929
* @var int
3030
*/

0 commit comments

Comments
 (0)