]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/helper/class_BaseHelper.php
WIP:
[core.git] / framework / main / classes / helper / class_BaseHelper.php
index e9cbdf38052175a9e69435470b11e77c46c7ca6e..494e3cbd58597c1f077e38276ca0d9236f250ac3 100644 (file)
@@ -193,7 +193,7 @@ abstract class BaseHelper extends BaseFrameworkSystem {
         * @return      void
         * @todo        Rewrite this method using a helper class for filtering data
         */
-       public function assignFieldWithFilter ($fieldName, $filterMethod) {
+       public function assignFieldWithFilter (string $fieldName, string $filterMethod) {
                // Get the value
                $fieldValue = $this->getValueField($fieldName);
                //* DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput($fieldName.'='.$fieldValue);
@@ -213,7 +213,7 @@ abstract class BaseHelper extends BaseFrameworkSystem {
         * @return      void
         * @throws      NullPointerException    If recovery of requested value instance failed
         */
-       public function prefetchValueInstance ($registryKey, $extraKey = NULL) {
+       public function prefetchValueInstance (string $registryKey, string $extraKey = NULL) {
                //* DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('O:'.$registryKey.'/'.$extraKey);
                try {
                        // Get the required instance