Pinq\Tests\Integration\Queries\Functions\ProjectionBaseTest::functionWithEmptyReturnStatement PHP Метод

functionWithEmptyReturnStatement() защищенный Метод

    protected function functionWithEmptyReturnStatement()
    {
        return $this->buildFunction('', __CLASS__, __NAMESPACE__, ['param' => 'scope'], [O\Expression::parameter('foo')], [O\Expression::value('before'), O\Expression::returnExpression(), O\Expression::value('after'), O\Expression::functionCall(O\Expression::value('boom'))]);
    }