X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Frequest%2Fhtml%2Fclass_HtmlRequest.php;h=77f36beeb766aed779fed20d6d21071e6f910e1d;hb=ef7a7e55c59c9e887e6bb09c8c02b8126309f716;hp=f8b0fdbaf3a26e252cf2552e08891e121d2c5124;hpb=035b3221bff7b542e264a9d0a4a6d086833487ef;p=core.git diff --git a/framework/main/classes/request/html/class_HtmlRequest.php b/framework/main/classes/request/html/class_HtmlRequest.php index f8b0fdba..77f36bee 100644 --- a/framework/main/classes/request/html/class_HtmlRequest.php +++ b/framework/main/classes/request/html/class_HtmlRequest.php @@ -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;