Skip to content

Commit a9d47b0

Browse files
committed
chore: codestyle fix
1 parent a9d8364 commit a9d47b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Drupal9/Rector/ValueObject/AssertLegacyTraitConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class AssertLegacyTraitConfiguration
2222
* @param bool $processFirstArgumentOnly toggle to reduce the number of arguments passed to 1
2323
* @param string $declaringSource the class that declares the deprecated method
2424
*/
25-
public function __construct(string $deprecatedMethodName, string $methodName, string $comment = '', bool $isAssertSessionMethod = true, bool $processFirstArgumentOnly = false, string $declaringSource = 'Drupal\FunctionalTests\AssertLegacyTrait', string $prependArgument = null)
25+
public function __construct(string $deprecatedMethodName, string $methodName, string $comment = '', bool $isAssertSessionMethod = true, bool $processFirstArgumentOnly = false, string $declaringSource = 'Drupal\FunctionalTests\AssertLegacyTrait', ?string $prependArgument = null)
2626
{
2727
$this->deprecatedMethodName = $deprecatedMethodName;
2828
$this->methodName = $methodName;

src/Rector/PHPUnit/ShouldCallParentMethodsRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getNodeTypes(): array
2525
* @param Node $node
2626
* @param Scope $scope
2727
*
28-
* @return \PhpParser\Node|null
28+
* @return Node|null
2929
*/
3030
public function refactorWithScope(Node $node, Scope $scope)
3131
{

src/Utility/GetDeclaringSourceTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ trait GetDeclaringSourceTrait
1414
/**
1515
* Gets a method or property's declaring source (trait or class.).
1616
*
17-
* @param node\Expr\MethodCall|Node\Expr\PropertyFetch $expr
17+
* @param Node\Expr\MethodCall|Node\Expr\PropertyFetch $expr
1818
* The expression
1919
*
2020
* @return string|null

0 commit comments

Comments
 (0)