Skip to content

Commit

Permalink
privatize final class protected property
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul Malik Ikhsan <[email protected]>
  • Loading branch information
samsonasik committed Sep 16, 2022
1 parent 5d3bf75 commit ef73327
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/FilesystemIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ final class FilesystemIterator implements IteratorInterface
/**
* The Filesystem storage instance
*/
protected Filesystem $storage;
private Filesystem $storage;

/**
* The iterator mode
*/
protected int $mode = IteratorInterface::CURRENT_AS_KEY;
private int $mode = IteratorInterface::CURRENT_AS_KEY;

/**
* The GlobIterator instance
*/
protected GlobIterator $globIterator;
private GlobIterator $globIterator;

/**
* The namespace sprefix
*/
protected string $prefix;
private string $prefix;

/**
* String length of namespace prefix
*/
protected int $prefixLength;
private int $prefixLength;

/**
* Constructor
Expand Down
4 changes: 2 additions & 2 deletions test/unit/FilesystemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
*/
final class FilesystemTest extends AbstractCommonAdapterTest
{
protected string $tmpCacheDir;
private string $tmpCacheDir;

protected int $umask;
private int $umask;

protected function setUp(): void
{
Expand Down

0 comments on commit ef73327

Please sign in to comment.