mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove a lot of deprecated code.
This commit is contained in:
@@ -80,10 +80,9 @@ class ExportJobRepository implements ExportJobRepositoryInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ExportJob
|
||||
* @deprecated
|
||||
* @return ExportJob|null
|
||||
*/
|
||||
public function create(): ExportJob
|
||||
public function create(): ?ExportJob
|
||||
{
|
||||
$count = 0;
|
||||
while ($count < 30) {
|
||||
@@ -103,7 +102,7 @@ class ExportJobRepository implements ExportJobRepositoryInterface
|
||||
++$count;
|
||||
}
|
||||
|
||||
return new ExportJob;
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user