Skip to content

Commit 9bc83c2

Browse files
committed
Fix CS
1 parent 1c9739f commit 9bc83c2

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

File/UploadedFile.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,11 @@ private static function parseFilesize(string $size)
273273

274274
switch (substr($size, -1)) {
275275
case 't': $max *= 1024;
276+
// no break
276277
case 'g': $max *= 1024;
278+
// no break
277279
case 'm': $max *= 1024;
280+
// no break
278281
case 'k': $max *= 1024;
279282
}
280283

HeaderBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __toString()
6262
*
6363
* @return array An array of headers
6464
*/
65-
public function all(/*string $key = null*/)
65+
public function all(/* string $key = null */)
6666
{
6767
if (1 <= \func_num_args() && null !== $key = func_get_arg(0)) {
6868
return $this->headers[strtr($key, self::UPPER, self::LOWER)] ?? [];

ResponseHeaderBag.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function replace(array $headers = [])
9090
*
9191
* @param string|null $key The name of the headers to return or null to get them all
9292
*/
93-
public function all(/*string $key = null*/)
93+
public function all(/* string $key = null */)
9494
{
9595
$headers = parent::all();
9696

@@ -254,7 +254,7 @@ public function getCookies($format = self::COOKIES_FLAT)
254254
* @param bool $httpOnly
255255
* @param string $sameSite
256256
*/
257-
public function clearCookie($name, $path = '/', $domain = null, $secure = false, $httpOnly = true/*, $sameSite = null*/)
257+
public function clearCookie($name, $path = '/', $domain = null, $secure = false, $httpOnly = true/* , $sameSite = null */)
258258
{
259259
$sameSite = \func_num_args() > 5 ? func_get_arg(5) : null;
260260

0 commit comments

Comments
 (0)