fix(migration): add return type
This commit is contained in:
parent
c6f9f2fc1e
commit
8413d3daaf
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue