Remove a lot of deprecated code.

This commit is contained in:
James Cole
2018-07-25 06:45:25 +02:00
parent dbf019135a
commit 7c950c3022
39 changed files with 189 additions and 621 deletions

View File

@@ -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;
}
/**