diff options
Diffstat (limited to 'core/Command/Check.php')
-rw-r--r-- | core/Command/Check.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/Command/Check.php b/core/Command/Check.php index b225aff61ed..10c6c6cf522 100644 --- a/core/Command/Check.php +++ b/core/Command/Check.php @@ -2,9 +2,9 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @author Joas Schilling <coding@schilljs.com> * @author Morris Jobke <hey@morrisjobke.de> - * @author Roeland Jago Douma <roeland@famdouma.nl> * @author Thomas Müller <thomas.mueller@tmit.eu> * * @license AGPL-3.0 @@ -22,7 +22,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/> * */ - namespace OC\Core\Command; use OC\SystemConfig; @@ -49,10 +48,10 @@ class Check extends Base { ; } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $errors = \OC_Util::checkServer($this->config); if (!empty($errors)) { - $errors = array_map(function($item) { + $errors = array_map(function ($item) { return (string) $item['error']; }, $errors); |