Skip to content

Commit d09878a

Browse files
Merge branch '6.4' into 7.0
* 6.4: fix typo Add types to private and internal properties [Workflow] Cleaning code [Scheduler] Fix NPE in debug:scheduler command
2 parents 39c0321 + ab0c940 commit d09878a

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
class Filesystem
2424
{
25-
private static $lastError;
25+
private static ?string $lastError = null;
2626

2727
/**
2828
* Copies a file.

Path.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,9 @@ final class Path
4242
*
4343
* @var array<string, string>
4444
*/
45-
private static $buffer = [];
45+
private static array $buffer = [];
4646

47-
/**
48-
* @var int
49-
*/
50-
private static $bufferSize = 0;
47+
private static int $bufferSize = 0;
5148

5249
/**
5350
* Canonicalizes the given path.

0 commit comments

Comments
 (0)