mirror of
https://github.com/flarum/core.git
synced 2025-08-08 09:26:34 +02:00
phpstan
This commit is contained in:
@@ -26,6 +26,11 @@ interface MigrationRepositoryInterface
|
||||
*/
|
||||
public function delete(string $file, ?string $extension = null): void;
|
||||
|
||||
/**
|
||||
* Create the migration repository table.
|
||||
*/
|
||||
public function createRepository(): void;
|
||||
|
||||
/**
|
||||
* Determine if the migration repository exists.
|
||||
*/
|
||||
|
@@ -260,10 +260,8 @@ class Migrator
|
||||
|
||||
/**
|
||||
* Get the migration repository instance.
|
||||
*
|
||||
* @return MigrationRepositoryInterface
|
||||
*/
|
||||
public function getRepository()
|
||||
public function getRepository(): MigrationRepositoryInterface
|
||||
{
|
||||
return $this->repository;
|
||||
}
|
||||
|
Reference in New Issue
Block a user