]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/request/class_Requestable.php
Continued:
[core.git] / framework / main / interfaces / request / class_Requestable.php
index 60def40ceb56926882ec15394d49ef1ae35cb8b4..55f4cac4cc10435a78808ee826cfd4cec9c17d3a 100644 (file)
@@ -34,7 +34,7 @@ interface Requestable extends FrameworkInterface {
         * @param       $element        Name of the request element we want to check
         * @return      $isSet          Whether the request element is set
         */
-       function isRequestElementSet ($element);
+       function isRequestElementSet (string $element);
 
        /**
         * Getter for request element or 'null' if element was not found
@@ -43,7 +43,7 @@ interface Requestable extends FrameworkInterface {
         * @return      $value          Value of the found request element or 'null' if the
         *                                              element was not found
         */
-       function getRequestElement ($element);
+       function getRequestElement (string $element);
 
        /**
         * Setter for request elements
@@ -52,7 +52,7 @@ interface Requestable extends FrameworkInterface {
         * @param       $value          Value to set
         * @return      void
         */
-       function setRequestElement ($element, $value);
+       function setRequestElement (string $element, $value);
 
        /**
         * Setter for request data array