fix: Constructor promotion

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2024-10-18 23:03:26 +02:00
parent 00d2c435e8
commit 8914f3b90e
No known key found for this signature in database
GPG key ID: F72FA5B49FFA96B0

View file

@ -30,14 +30,11 @@ use OCP\Migration\IOutput;
use OCP\Migration\IRepairStep;
class RegisterBinary implements IRepairStep {
public const VERSION = '1.26.0';
/** @var IConfig */
protected $config;
public function __construct(IConfig $config) {
$this->config = $config;
public function __construct(
protected IConfig $config,
) {
}
public function getName(): string {