mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
remove: method and expose the variable itself.
This commit is contained in:
parent
b922858428
commit
dcf11df193
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