thaps /scanner/PHP-Parser/lib/PHPParser/Node/Expr/Empty.php

Language PHP Lines 23
MD5 Hash 2c82d9bcb730df0325ce13315d5534a1 Estimated Cost $215 (why?)
Repository https://bitbucket.org/theguly/thaps View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

/**
 * @property PHPParser_Node_Expr $var Variable
 */
class PHPParser_Node_Expr_Empty extends PHPParser_Node_Expr
{
    /**
     * Constructs an empty() node.
     *
     * @param PHPParser_Node_Expr $var        Variable
     * @param int                 $line       Line
     * @param null|string         $docComment Nearest doc comment
     */
    public function __construct(PHPParser_Node_Expr $var, $line = -1, $docComment = null) {
        parent::__construct(
            array(
                'var' => $var
            ),
            $line, $docComment
        );
    }
}
Back to Top