about summary refs log tree commit diff stats
path: root/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Bool_.php
blob: ca02586dd1763a73bd5c745979a890adfb21248a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php declare(strict_types=1);

namespace PhpParser\Node\Expr\Cast;

use PhpParser\Node\Expr\Cast;

class Bool_ extends Cast {
    // For use in "kind" attribute
    public const KIND_BOOL = 1; // "bool" syntax
    public const KIND_BOOLEAN = 2; // "boolean" syntax

    public function getType(): string {
        return 'Expr_Cast_Bool';
    }
}