Skip to content

Commit 22b5625

Browse files
committed
fix(style): Fix some code style issue
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
1 parent 4736ec0 commit 22b5625

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Rector/AnnotationToAttributeRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function (DocNode $docNode) use (&$attributeGroups) {
191191
}
192192
$tag = trim($docNode->name, '@');
193193
// not a basic one
194-
if (strpos($tag, '\\') !== \false) {
194+
if (strpos($tag, '\\') !== false) {
195195
return null;
196196
}
197197
foreach ($this->annotationsToAttributes as $annotationToAttribute) {

src/Rector/RenameParameterRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ public function refactor(Node $node): ?Node
103103
return null;
104104
}
105105

106-
$hasChanged = \false;
106+
$hasChanged = false;
107107

108108
foreach ($this->renameParameters as $renameParameter) {
109109
foreach ($params as $param) {
110110
if ($this->renameVariable($param->var, $renameParameter)) {
111-
$hasChanged = \true;
111+
$hasChanged = true;
112112
}
113113
}
114114
}

0 commit comments

Comments
 (0)