Skip to content

Commit 5f4651a

Browse files
committed
Fix psalm
1 parent 2be5c60 commit 5f4651a

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

Directory.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
use phootwork\file\exception\FileException;
1515
use phootwork\lang\Text;
1616

17+
/**
18+
* Class Directory
19+
*
20+
* @psalm-consistent-constructor
21+
*/
1722
class Directory implements Iterator {
1823
use FileOperationTrait;
1924

File.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
use phootwork\file\exception\FileException;
1414
use phootwork\lang\Text;
1515

16+
/**
17+
* Class File
18+
*
19+
* @psalm-consistent-constructor
20+
*/
1621
class File {
1722
use FileOperationTrait;
1823

FileDescriptor.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111

1212
use phootwork\lang\Text;
1313

14+
/**
15+
* Class FileDescriptor
16+
*
17+
* @psalm-consistent-constructor
18+
*/
1419
class FileDescriptor {
1520
use FileOperationTrait;
1621

0 commit comments

Comments
 (0)