X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Fdiscovery%2Fclass_BaseDiscovery.php;h=73b9dc9d0cbf59c08609424ddc58edf64bf482f5;hp=27896ea5ab887a1e03f3e0e2fa776d2399d293cf;hb=HEAD;hpb=78a010fef84895720e796842208f01dfb619c332 diff --git a/framework/main/classes/discovery/class_BaseDiscovery.php b/framework/main/classes/discovery/class_BaseDiscovery.php index 27896ea5..73b9dc9d 100644 --- a/framework/main/classes/discovery/class_BaseDiscovery.php +++ b/framework/main/classes/discovery/class_BaseDiscovery.php @@ -1,16 +1,16 @@ * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @@ -27,7 +27,7 @@ use CoreFramework\Object\BaseFrameworkSystem; * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseDiscovery extends BaseFrameworkSystem { +abstract class BaseDiscovery extends BaseFrameworkSystem { /** * Action name for payment discovery */ @@ -39,7 +39,7 @@ class BaseDiscovery extends BaseFrameworkSystem { * @param $className Name of the class * @return void */ - protected function __construct ($className) { + protected function __construct (string $className) { // Call parent constructor parent::__construct($className); } @@ -50,8 +50,8 @@ class BaseDiscovery extends BaseFrameworkSystem { * @param $actionName Action name to set * @return void */ - protected final function setActionName ($actionName) { - $this->actionName = (string) $actionName; + protected final function setActionName (string $actionName) { + $this->actionName = $actionName; } /**