diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/DB/MissingIndexInformation.php | 6 |
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 |