<?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
*
{
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()
$this->basePath = $basePath->getPath();
}
- protected function doExecute()
+ protected function doExecute(): int
{
if ($this->getOption('v')) {
$this->out('Class: ' . __CLASS__);