Completed
Pull Request — master (#3)
by Carlos C
03:14
created
src/Psr7/Stream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
 	/**
170 170
 	 * @inheritdoc
171 171
 	 */
172
-	public function getSize():?int{
172
+	public function getSize(): ?int{
173 173
 
174 174
 		if($this->size !== null){
175 175
 			return $this->size;
Please login to merge, or discard this patch.
src/Psr7/UploadedFile.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 	/**
157 157
 	 * @inheritdoc
158 158
 	 */
159
-	public function getSize():?int{
159
+	public function getSize(): ?int{
160 160
 		return $this->size;
161 161
 	}
162 162
 
@@ -170,14 +170,14 @@  discard block
 block discarded – undo
170 170
 	/**
171 171
 	 * @inheritdoc
172 172
 	 */
173
-	public function getClientFilename():?string{
173
+	public function getClientFilename(): ?string{
174 174
 		return $this->clientFilename;
175 175
 	}
176 176
 
177 177
 	/**
178 178
 	 * @inheritdoc
179 179
 	 */
180
-	public function getClientMediaType():?string{
180
+	public function getClientMediaType(): ?string{
181 181
 		return $this->clientMediaType;
182 182
 	}
183 183
 
Please login to merge, or discard this patch.
src/Psr7/StreamAbstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 	 * @inheritdoc
99 99
 	 * @codeCoverageIgnore
100 100
 	 */
101
-	public function getSize():?int{
101
+	public function getSize(): ?int{
102 102
 		return $this->stream->getSize();
103 103
 	}
104 104
 
Please login to merge, or discard this patch.
src/Psr7/Uri.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
 	 * @return int|null
308 308
 	 * @throws \InvalidArgumentException
309 309
 	 */
310
-	protected function filterPort($port):?int{
310
+	protected function filterPort($port): ?int{
311 311
 
312 312
 		if($port === null){
313 313
 			return null;
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
 	/**
326 326
 	 * @inheritdoc
327 327
 	 */
328
-	public function getPort():?int{
328
+	public function getPort(): ?int{
329 329
 		return $this->port;
330 330
 	}
331 331
 
Please login to merge, or discard this patch.
src/Psr7/MultipartStream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
 	/**
170 170
 	 * @inheritdoc
171 171
 	 */
172
-	public function getSize():?int{
172
+	public function getSize(): ?int{
173 173
 		return $this->stream->getSize() + \strlen($this->boundary) + 6;
174 174
 	}
175 175
 
Please login to merge, or discard this patch.
src/Psr18/StreamClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
 		$requestUri = (string)$uri->withFragment('');
54 54
 
55
-		\set_error_handler(function ($severity, $msg, $file, $line){
55
+		\set_error_handler(function($severity, $msg, $file, $line){
56 56
 			throw new \ErrorException($msg, 0, $severity, $file, $line);
57 57
 		});
58 58
 
Please login to merge, or discard this patch.
src/Psr18/CurlHandle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
 			\CURLOPT_WRITEFUNCTION  => [$this, 'writefunction'],
119 119
 			\CURLOPT_HEADERFUNCTION => [$this, 'headerfunction'],
120 120
 		];
121
-		if ($this->options->ca_info) {
121
+		if($this->options->ca_info){
122 122
             $options[\CURLOPT_CAINFO] = $this->options->ca_info;
123 123
 		}
124 124
         return $options;
Please login to merge, or discard this patch.