aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-13 12:21:02 +0200
committerGitHub <noreply@github.com>2018-06-13 12:21:02 +0200
commit6756c8d2b522834e441ceb65b55bb02299dc718c (patch)
treed198c50ad5047457b28baf527befadfffdb88c48 /lib
parentc4a2632d9539fb8c406b1027fdb445cea8310ee0 (diff)
parent624d191ef678d2f19a6d62e38f589c507ce05e72 (diff)
downloadnextcloud-server-6756c8d2b522834e441ceb65b55bb02299dc718c.tar.gz
nextcloud-server-6756c8d2b522834e441ceb65b55bb02299dc718c.zip
Merge pull request #9850 from nextcloud/fix/noid/setup-check-empty-index
Fix wrong hint about missing indexes
Diffstat (limited to 'lib')
-rw-r--r--lib/private/DB/MissingIndexInformation.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/DB/MissingIndexInformation.php b/lib/private/DB/MissingIndexInformation.php
index d6e40e0b09e..0cb9852d0d4 100644
--- a/lib/private/DB/MissingIndexInformation.php
+++ b/lib/private/DB/MissingIndexInformation.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* @copyright Copyright (c) 2018 Morris Jobke <hey@morrisjobke.de>
*
@@ -21,19 +22,18 @@
namespace OC\DB;
-
class MissingIndexInformation {
private $listOfMissingIndexes = [];
- public function addHintForMissingSubject($tableName, $indexName) {
+ public function addHintForMissingSubject(string $tableName, string $indexName) {
$this->listOfMissingIndexes[] = [
'tableName' => $tableName,
'indexName' => $indexName
];
}
- public function getListOfMissingIndexes() {
+ public function getListOfMissingIndexes(): array {
return $this->listOfMissingIndexes;
}
} \ No newline at end of file