refactor: Naming parameters

This commit is contained in:
Binyamin Yawitz 2024-06-25 09:16:27 -04:00
parent 18ca583df8
commit d62d5662f6
No known key found for this signature in database

View file

@ -1134,7 +1134,7 @@ class Deletes extends Action
* @throws Exception * @throws Exception
* @throws Throwable * @throws Throwable
*/ */
public function deleteTeams($dbForConsole, $getProjectDB, $team, $project): void public function deleteTeams(Database $dbForConsole, callable $getProjectDB, Document $team, Document $project): void
{ {
$this->deleteMemberships($getProjectDB, $team, $project); $this->deleteMemberships($getProjectDB, $team, $project);
if ($project->getId() === 'console') { if ($project->getId() === 'console') {