Merge pull request #9710 from appwrite/expose-var

Expose var
This commit is contained in:
Jake Barnby 2025-05-01 06:52:04 +00:00 committed by GitHub
commit 6794ef77fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ class Migrations extends Action
*
* @var array<string, int>
*/
private array $sourceReport = [];
protected array $sourceReport = [];
/**
* @var callable
@ -390,16 +390,4 @@ class Migrations extends Action
}
}
}
/**
* Returns a report of resources in the source.
*
* Should be called after `processSource()` to ensure the data is populated.
*
* @return array<string, int> Resource type mapped to their counts.
*/
protected function getSourceReport(): array
{
return $this->sourceReport;
}
}