]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/request/html/class_HtmlRequest.php
Continued:
[core.git] / framework / main / classes / request / html / class_HtmlRequest.php
index f8b0fdbaf3a26e252cf2552e08891e121d2c5124..77f36beeb766aed779fed20d6d21071e6f910e1d 100644 (file)
@@ -104,7 +104,7 @@ class HtmlRequest extends BaseRequest implements Requestable {
         * @param       $headerName             Name of the header
         * @return      $headerValue    Value of the header or 'null' if not found
         */
-       public function getHeaderElement ($headerName) {
+       public function getHeaderElement (string $headerName) {
                // Default return value on error
                $headerValue = NULL;
 
@@ -135,7 +135,7 @@ class HtmlRequest extends BaseRequest implements Requestable {
         * @param       $cookieName             Name of cookie we shall read
         * @return      $cookieValue    Value of cookie or null if not found
         */
-       public final function readCookie ($cookieName) {
+       public final function readCookie (string $cookieName) {
                // Default is no cookie with that name found
                $cookieValue = NULL;