Skip to content

Commit

Permalink
[Doc] Fix documentation code example of RemoveTypedPropertyDeadInstan…
Browse files Browse the repository at this point in the history
…ceOfRector (#4168)
  • Loading branch information
samsonasik committed Jun 11, 2023
1 parent 165376f commit d541d1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/target-repository/docs/rector_rules_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -2900,7 +2900,7 @@ Remove dead instanceof check on type hinted property
{
private $someObject;

public function __construct($someObject)
public function __construct(SomeObject $someObject)
{
$this->someObject = $someObject;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ final class SomeClass
{
private $someObject;
public function __construct($someObject)
public function __construct(SomeObject $someObject)
{
$this->someObject = $someObject;
}
Expand All @@ -68,7 +68,7 @@ final class SomeClass
{
private $someObject;
public function __construct($someObject)
public function __construct(SomeObject $someObject)
{
$this->someObject = $someObject;
}
Expand Down

0 comments on commit d541d1a

Please sign in to comment.