Skip to content

Commit 148d73d

Browse files
dbuStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 35862d8 commit 148d73d

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

src/MimetypeHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface MimetypeHelper
1212
*
1313
* @param string $filename
1414
*
15-
* @return null|string
15+
* @return string|null
1616
*/
1717
public function getMimetypeFromFilename($filename);
1818

src/MultipartStreamBuilder.php

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,9 @@ public function build()
143143
/**
144144
* Add extra headers if they are missing.
145145
*
146-
* @param string $name
147-
* @param StreamInterface $stream
148-
* @param string $filename
149-
* @param array &$headers
146+
* @param string $name
147+
* @param string $filename
148+
* @param array &$headers
150149
*/
151150
private function prepareHeaders($name, StreamInterface $stream, $filename, array &$headers)
152151
{
@@ -178,8 +177,6 @@ private function prepareHeaders($name, StreamInterface $stream, $filename, array
178177
/**
179178
* Get the headers formatted for the HTTP message.
180179
*
181-
* @param array $headers
182-
*
183180
* @return string
184181
*/
185182
private function getHeaders(array $headers)
@@ -195,8 +192,7 @@ private function getHeaders(array $headers)
195192
/**
196193
* Check if header exist.
197194
*
198-
* @param array $headers
199-
* @param string $key case insensitive
195+
* @param string $key case insensitive
200196
*
201197
* @return bool
202198
*/
@@ -253,8 +249,6 @@ private function getMimetypeHelper()
253249
/**
254250
* If you have custom file extension you may overwrite the default MimetypeHelper with your own.
255251
*
256-
* @param MimetypeHelper $mimetypeHelper
257-
*
258252
* @return MultipartStreamBuilder
259253
*/
260254
public function setMimetypeHelper(MimetypeHelper $mimetypeHelper)

0 commit comments

Comments
 (0)