Skip to content

Commit a977d4e

Browse files
committed
use static instead of self
1 parent 61a06ca commit a977d4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Communication/StdStreams.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ class StdStreams
2626
*/
2727
public static function getInstance(): static
2828
{
29-
if (self::$instance === null) {
30-
self::$instance = new static();
29+
if (static::$instance === null) {
30+
static::$instance = new static();
3131
}
32-
return self::$instance;
32+
return static::$instance;
3333
}
3434

3535
/**

0 commit comments

Comments
 (0)