1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

fix(migration): add return type

This commit is contained in:
Torsten Dittmann 2021-01-13 17:58:01 +01:00
parent c6f9f2fc1e
commit 8413d3daaf

View file

@ -26,7 +26,7 @@ abstract class Migration
/**
* Set project for migration.
*/
public function setProject(Document $project, Database $projectDB)
public function setProject(Document $project, Database $projectDB): Migration
{
$this->project = $project;
$this->projectDB = $projectDB;