Apply StyleCi recommendation

This commit is contained in:
rugk 2019-01-22 00:12:02 +01:00
parent c2a46b7af7
commit 34c64acb75
No known key found for this signature in database
GPG key ID: 05D40A636AFAB34D
3 changed files with 4 additions and 4 deletions

View file

@ -85,9 +85,9 @@ class Request
foreach ($_GET as $key => $value) {
// only return if value is empty and key matches RegEx
if (($value === "") and preg_match($pasteIdRegEx, $key, $match)) {
if (($value === '') and preg_match($pasteIdRegEx, $key, $match)) {
return $match[0];
};
}
}
return 'invalid id';