Update flight/net/Request.php

Co-authored-by: Michal Hybner <76526074+mu1f407@users.noreply.github.com>
pull/456/head
Mike Cao 3 years ago committed by GitHub
parent d2a92aa808
commit fc43bfb4ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -147,7 +147,7 @@ final class Request
'scheme' => self::getScheme(),
'user_agent' => self::getVar('HTTP_USER_AGENT'),
'type' => self::getVar('CONTENT_TYPE'),
'length' => (int)self::getVar('CONTENT_LENGTH', 0),
'length' => (int) self::getVar('CONTENT_LENGTH', 0),
'query' => new Collection($_GET),
'data' => new Collection($_POST),
'cookies' => new Collection($_COOKIE),

Loading…
Cancel
Save