Passed
Push — 0.8.x ( dc4356...41e10c )
by Alexander
07:16 queued 03:31
created
src/components/Http/Resources/HttpRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
 	private static function createFromRequestFactory(
270 270
 		array $query = [], 
271 271
 		array $request = [],
272
-		array $attributes = [] ,
272
+		array $attributes = [],
273 273
 		array $cookies = [], 
274 274
 		array $files = [], 
275 275
 		array $server = []
@@ -542,7 +542,7 @@  discard block
 block discarded – undo
542 542
 		$scheme = $this->getScheme();
543 543
 		$port   = $this->getPort();
544 544
 
545
-		if (('http' === $scheme && 80 === $port) || ('https' === $scheme && 443 === $port))	{
545
+		if (('http' === $scheme && 80 === $port) || ('https' === $scheme && 443 === $port)) {
546 546
 			return $this->getHost();
547 547
 		}
548 548
 
Please login to merge, or discard this patch.
src/components/Http/Request.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
 	 */
650 650
 	public function getRouteResolver(): Closure
651 651
 	{
652
-		return $this->routeResolver ?: function () {
652
+		return $this->routeResolver ?: function() {
653 653
 			//
654 654
 		};
655 655
 	}
@@ -709,7 +709,7 @@  discard block
 block discarded – undo
709 709
 		$cookies      = [];
710 710
 
711 711
 		foreach ($this->cookies as $key => $value) {
712
-			$cookies[]= is_array($value) ? http_build_query([$key => $value], '', '; ', PHP_QUERY_RFC3986) : "$key=$value";
712
+			$cookies[] = is_array($value) ? http_build_query([$key => $value], '', '; ', PHP_QUERY_RFC3986) : "$key=$value";
713 713
 		}
714 714
 
715 715
 		if ($cookies) {
Please login to merge, or discard this patch.