core: add more strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
a369933084
commit
d1f23b0428
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @copyright 2018 Morris Jobke <hey@morrisjobke.de>
|
||||
*
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @copyright 2020 Morris Jobke <hey@morrisjobke.de>
|
||||
*
|
||||
|
@ -49,7 +52,7 @@ class CheckForUserCertificates extends QueuedJob {
|
|||
/**
|
||||
* Checks all user directories for old user uploaded certificates
|
||||
*/
|
||||
public function run($arguments) {
|
||||
public function run($arguments): void {
|
||||
$uploadList = [];
|
||||
$this->userManager->callForSeenUsers(function (IUser $user) use (&$uploadList) {
|
||||
$userId = $user->getUID();
|
||||
|
|
|
@ -42,7 +42,7 @@ class CleanupLoginFlowV2 extends TimedJob {
|
|||
$this->setInterval(3600);
|
||||
}
|
||||
|
||||
protected function run($argument) {
|
||||
protected function run($argument): void {
|
||||
$this->loginFlowV2Mapper->cleanup();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @copyright Copyright (c) 2016, ownCloud, Inc.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @copyright Copyright (c) 2016, ownCloud, Inc.
|
||||
*
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @copyright Copyright (c) 2016, ownCloud, Inc.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue