fix phpstan (#27989)
* fix phpstan * Update UserRightsToFunction.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
1da1c473ba
commit
080d8e0fa4
2 changed files with 10 additions and 2 deletions
|
|
@ -144,8 +144,9 @@ class UserRightsToFunction extends AbstractRector
|
|||
return $node;
|
||||
}
|
||||
|
||||
$caseok = false; // Will be tru if we can make the replacement. We must not do it for assignment like when $user->right->aaa->bbb = ...
|
||||
$isInverse = false;
|
||||
$caseok = false; // Will be true if we can make the replacement. We must not do it for assignment like when $user->right->aaa->bbb = ...
|
||||
|
||||
$isInverse = false;
|
||||
if ($node instanceof Node\Expr\BooleanNot) {
|
||||
if (!$node->expr instanceof Node\Expr\Empty_) {
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -55,7 +55,14 @@ class CSMSFile
|
|||
*/
|
||||
public $eol;
|
||||
|
||||
/**
|
||||
* @var string address from
|
||||
*/
|
||||
public $addr_from;
|
||||
|
||||
/**
|
||||
* @var string address to
|
||||
*/
|
||||
public $addr_to;
|
||||
public $deferred;
|
||||
public $priority;
|
||||
|
|
|
|||
Loading…
Reference in a new issue