Skip to content

Commit cb437f5

Browse files
Fix
1 parent 042de8e commit cb437f5

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

tests/PHPStan/Rules/Functions/data/bug-7772.php

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,19 @@
22

33
namespace Bug7772;
44

5+
/**
6+
* @param int $lifetime
7+
* @param string|null $path
8+
* @param string|null $domain
9+
* @param bool|null $secure
10+
* @param bool|null $httponly
11+
*/
512
function session_start(
6-
int $lifetime,
7-
?string $path = null,
8-
?string $domain = null,
9-
?bool $secure = null,
10-
?bool $httponly = true
13+
$lifetime,
14+
$path = null,
15+
$domain = null,
16+
$secure = null,
17+
$httponly = true
1118
): void {
1219
\session_set_cookie_params($lifetime, $path, $domain, $secure, $httponly);
1320
\session_start();

0 commit comments

Comments
 (0)