Skip to content

Commit 87ae7e8

Browse files
committed
Modify method
1 parent 7b8dca8 commit 87ae7e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Concern/InteractsWithInput.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ public function header(string $key = '', array $default = null): array
5353

5454
/**
5555
* @param string $key
56-
* @param string $default
56+
* @param mixed $default
5757
*
58-
* @return string
58+
* @return mixed
5959
*/
60-
public function headerLine(string $key, string $default): string
60+
public function headerLine(string $key, $default = null)
6161
{
6262
if (!$this->hasHeader($key)) {
6363
return $default;

0 commit comments

Comments
 (0)