Aggiornato Composer
This commit is contained in:
@@ -46,7 +46,7 @@ abstract class AbstractNode implements Countable
|
||||
*/
|
||||
private $id;
|
||||
|
||||
public function __construct(string $name, self $parent = null)
|
||||
public function __construct(string $name, ?self $parent = null)
|
||||
{
|
||||
if (substr($name, -1) === DIRECTORY_SEPARATOR) {
|
||||
$name = substr($name, 0, -1);
|
||||
|
||||
@@ -74,8 +74,6 @@ final class Iterator implements RecursiveIterator
|
||||
|
||||
/**
|
||||
* Returns the sub iterator for the current element.
|
||||
*
|
||||
* @return Iterator
|
||||
*/
|
||||
public function getChildren(): self
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user