8000 minor #25388 [Process] add type hint and changelog entry (xabbuh) · symfony/symfony@7b55449 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b55449

Browse files
minor #25388 [Process] add type hint and changelog entry (xabbuh)
This PR was merged into the 4.1-dev branch. Discussion ---------- [Process] add type hint and changelog entry | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 5a1dc67 add type hint and changelog entry
2 parents 68ebcf0 + 5a1dc67 commit 7b55449

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/Symfony/Component/Process/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
4.1.0
5+
-----
6+
7+
* added the `Process::isTtySupported()` method that allows to check for TTY support
8+
49
4.0.0
510
-----
611

src/Symfony/Component/Process/Process.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,10 +1164,8 @@ public function checkTimeout()
11641164

11651165
/**
11661166
* Returns whether TTY is supported on the current operating system.
1167-
*
1168-
* @return bool
11691167
*/
1170-
public static function isTtySupported()
1168+
public static function isTtySupported(): bool
11711169
{
11721170
static $isTtySupported;
11731171

0 commit comments

Comments
 (0)
0