Skip to content

Commit

Permalink
fix: code standard
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Trovic <luka@nextcloud.com>
  • Loading branch information
luka-nextcloud committed Apr 24, 2024
1 parent 7a0d735 commit 3e33d18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
use OCP\AppFramework\Bootstrap\IRegistrationContext;

class Application extends App implements IBootstrap {
public function __construct(array $urlParams = array()) {
public function __construct(array $urlParams = []) {
parent::__construct('survey_client', $urlParams);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Categories/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ protected function databaseSize() {
if ($row['proname'] === 'pg_database_size') {
$database = $this->config->getSystemValue('dbname');
if (strpos($database, '.') !== false) {
list($database, ) = explode('.', $database);
[$database, ] = explode('.', $database);
}
$sql = "SELECT oid
FROM pg_database
Expand Down

0 comments on commit 3e33d18

Please sign in to comment.