Skip to content

Commit 0b86ca6

Browse files
committed
fix: tests.
1 parent 566c640 commit 0b86ca6

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/Migration/Sources/JSON.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ class JSON extends Source
2929

3030
private Device $device;
3131

32+
/** @noinspection PhpPropertyOnlyWrittenInspection */
33+
private ?UtopiaDatabase $dbForProject;
34+
3235
private bool $downloaded = false;
3336

34-
/** @noinspection PhpUnusedParameterInspection */
3537
public function __construct(
3638
string $resourceId,
3739
string $filePath,
@@ -41,6 +43,9 @@ public function __construct(
4143
$this->device = $device;
4244
$this->filePath = $filePath;
4345
$this->resourceId = $resourceId;
46+
47+
/* kept for composer check */
48+
$this->dbForProject = $dbForProject;
4449
}
4550

4651
public static function getName(): string

0 commit comments

Comments
 (0)