composer update

This commit is contained in:
isUnknown 2025-09-23 08:15:07 +02:00
parent 0b3c362c5e
commit a1f0701630
142 changed files with 4530 additions and 1195 deletions

View file

@ -0,0 +1,33 @@
<?php
namespace Kirby\Query\AST;
use Kirby\Query\Visitors\Visitor;
/**
* Represents a coalesce operation in the AST
*
* @package Kirby Query
* @author Roman Steiner <roman@toastlab.ch>,
* Nico Hoffmann <nico@getkirby.com>
* @link https://getkirby.com
* @license https://opensource.org/licenses/MIT
* @since 5.1.0
* @unstable
*/
class CoalesceNode extends Node
{
public function __construct(
public Node $left,
public Node $right,
) {
}
public function resolve(Visitor $visitor): mixed
{
return $visitor->coalescence(
left: $this->left->resolve($visitor),
right: $this->right->resolve($visitor)
);
}
}