<?php
+// Own namespace
+namespace Org\Mxchange\City\Task;
+
+// Import application-specific stuff
+use Org\Mxchange\City\Helper\CityHelper;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Task\BaseTask;
+
/**
* A general CityTask class
*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2015 City Developer Team
+ * @copyright Copyright (c) 2015 - 2023 City Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class BaseCityTask extends BaseTask {
+abstract class BaseCityTask extends BaseTask {
/**
* An instance of a city
*/
* @param $className Name of the class
* @return void
*/
- protected function __construct ($className) {
+ protected function __construct (string $className) {
// Call parent constructor
parent::__construct($className);
}
$this->cityInstance = $cityInstance;
}
}
-
-// [EOF]
-?>