Passed
Push — master ( fca16e...a09e23 )
by Alexander
04:10
created
src/components/Http/Loaders/Inputs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 	 * 
66 66
 	 * @return string|int|float|bool|null
67 67
 	 */
68
-	public function get(string $key, mixed $default = null): string|int|float|bool|null
68
+	public function get(string $key, mixed $default = null): string | int | float | bool | null
69 69
 	{
70 70
 		if (null !== $default && ! is_scalar($default) && ! method_exists($default, '__toString')) {
71 71
 			throw new BadRequestHttpException(sprintf('Passing a non-string value as 2nd argument to "%s()" is deprecated, pass a string or null instead', __METHOD__));
Please login to merge, or discard this patch.
src/components/Http/Request.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -942,7 +942,7 @@  discard block
 block discarded – undo
942 942
 		$scheme = $this->getScheme();
943 943
 		$port   = $this->getPort();
944 944
 
945
-		if (('http' === $scheme && 80 === $port) || ('https' === $scheme && 443 === $port))	{
945
+		if (('http' === $scheme && 80 === $port) || ('https' === $scheme && 443 === $port)) {
946 946
 			return $this->getHost();
947 947
 		}
948 948
 
@@ -1040,7 +1040,7 @@  discard block
 block discarded – undo
1040 1040
 	 */
1041 1041
 	public function getRouteResolver(): Closure
1042 1042
 	{
1043
-		return $this->routeResolver ?: function () {
1043
+		return $this->routeResolver ?: function() {
1044 1044
 			//
1045 1045
 		};
1046 1046
 	}
@@ -1086,7 +1086,7 @@  discard block
 block discarded – undo
1086 1086
 		$cookies      = [];
1087 1087
 
1088 1088
 		foreach ($this->cookies as $key => $value) {
1089
-			$cookies[]= is_array($value) ? http_build_query([$key => $value], '', '; ', PHP_QUERY_RFC3986) : "$key=$value";
1089
+			$cookies[] = is_array($value) ? http_build_query([$key => $value], '', '; ', PHP_QUERY_RFC3986) : "$key=$value";
1090 1090
 		}
1091 1091
 
1092 1092
 		if ($cookies) {
Please login to merge, or discard this patch.
src/components/Http/Resources/HttpResources.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 			$last    = count($segs);
128 128
 			$baseUrl = '';
129 129
 			
130
-			do 	{
130
+			do {
131 131
 				$seg     = $segs[$index];
132 132
 				$baseUrl = '/'.$seg.$baseUrl;
133 133
 				++$index;
Please login to merge, or discard this patch.
src/components/Http/Resources/HttpRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
 	private static function createFromRequestFactory(
136 136
 		array $query = [], 
137 137
 		array $request = [],
138
-		array $attributes = [] ,
138
+		array $attributes = [],
139 139
 		array $cookies = [], 
140 140
 		array $files = [], 
141 141
 		array $server = []
Please login to merge, or discard this patch.