*/ public $expectedType; /** @var string */ public $identificationVariable; /** @var string|null */ public $field; /** * @param int $expectedType * @param string $identificationVariable * @param string|null $field * @psalm-param int-mask-of $expectedType */ public function __construct($expectedType, $identificationVariable, $field = null) { $this->expectedType = $expectedType; $this->identificationVariable = $identificationVariable; $this->field = $field; } /** * {@inheritdoc} */ public function dispatch($walker) { return $walker->walkPathExpression($this); } }