10000 Merge branch '6.4' into 7.0 · symfony/symfony@ffa4fa9 · GitHub
[go: up one dir, main page]

Skip to content

Commit ffa4fa9

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [Mailer] Fix usage of stream_set_timeout in case of microseconds [Security] Update InteractiveAuthenticatorInterface description
2 parents b81d970 + fa94f8d commit ffa4fa9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/Mailer/Transport/Smtp/Stream/SocketStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function initialize(): void
160160
}
161161

162162
stream_set_blocking($this->stream, true);
163-
stream_set_timeout($this->stream, $timeout);
163+
stream_set_timeout($this->stream, (int) $timeout, (int) (($timeout - (int) $timeout) * 1000000));
164164
$this->in = &$this->stream;
165165
$this->out = &$this->stream;
166166
}

src/Symfony/Component/Security/Http/Authenticator/InteractiveAuthenticatorInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* be used by interactive authenticators.
1717
*
1818
* Interactive login requires explicit user action (e.g. a login
19-
* form or HTTP basic authentication). Implementing this interface
20-
* will dispatch the InteractiveLoginEvent upon successful login.
19+
* form). Implementing this interface will dispatch the InteractiveLoginEvent
20+
* upon successful login.
2121
*
2222
* @author Wouter de Jong <wouter@wouterj.nl>
2323
*/

0 commit comments

Comments
 (0)
0