]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/DatabaseStructure.php
Merge pull request #12604 from nupplaphil/bug/marco_r
[friendica.git] / src / Console / DatabaseStructure.php
index b7eafaafdb77f44383702049d7f9eb1709ee434e..c78d8ace85cf86082a8f1ea9795b0edf422b4331 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -40,25 +40,19 @@ class DatabaseStructure extends \Asika\SimpleConsole\Console
 {
        protected $helpOptions = ['h', 'help', '?'];
 
-       /**
-        * @var Database
-        */
+       /** @var Database */
        private $dba;
-       /**
-        * @var Cache
-        */
+
+       /** @var Cache */
        private $configCache;
-       /**
-        * @var DbaDefinition
-        */
+
+       /** @var DbaDefinition */
        private $dbaDefinition;
-       /**
-        * @var ViewDefinition
-        */
+
+       /** @var ViewDefinition */
        private $viewDefinition;
-       /**
-        * @var string
-        */
+
+       /** @var string */
        private $basePath;
 
        protected function getHelp()
@@ -100,7 +94,7 @@ HELP;
                $this->basePath = $basePath->getPath();
        }
 
-       protected function doExecute()
+       protected function doExecute(): int
        {
                if ($this->getOption('v')) {
                        $this->out('Class: ' . __CLASS__);