Skip to content
Snippets Groups Projects
Commit 5d5f7102 authored by Adam G-H's avatar Adam G-H
Browse files

Issue #3351962 by phenaproxima: CronUpdater::begin() should have the `never` return type

parent dcc6dfd3
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,7 @@ class CronUpdater extends Updater {
/**
* {@inheritdoc}
*/
final public function begin(array $project_versions, ?int $timeout = 300): string {
final public function begin(array $project_versions, ?int $timeout = 300): never {
// Unattended updates should never be started using this method. They should
// only be done by ::handleCron(), which has a strong opinion about which
// release to update to. Throwing an exception here is just to enforce this
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment