mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
commit
6794ef77fd
1 changed files with 1 additions and 13 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue