This commit is contained in:
Paolo A
2024-08-13 13:44:16 +00:00
parent 1bbb23088d
commit e796d76612
4001 changed files with 30101 additions and 40075 deletions

View File

@@ -1,5 +1,7 @@
<?php
declare(strict_types=1);
/*
* This file is part of the league/commonmark package.
*
@@ -16,23 +18,15 @@ namespace League\CommonMark\Node;
final class NodeWalkerEvent
{
/**
* @var Node
*/
private $node;
/** @psalm-readonly */
private Node $node;
/**
* @var bool
*/
private $isEntering;
/** @psalm-readonly */
private bool $isEntering;
/**
* @param Node $node
* @param bool $isEntering
*/
public function __construct(Node $node, $isEntering = true)
public function __construct(Node $node, bool $isEntering = true)
{
$this->node = $node;
$this->node = $node;
$this->isEntering = $isEntering;
}