Skip to content

Commit

Permalink
Apply php8.0 in Rector preset (#1139)
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Sep 6, 2024
1 parent 141fa8f commit 9e401a6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ class Storage
/** @var array */
protected $storage = [];

/** @var string */
private $dir;

public function __construct(string $dir)
public function __construct(private string $dir)
{
$this->dir = $dir;
}

public function store(string $name): void
Expand Down

0 comments on commit 9e401a6

Please sign in to comment.