/** * {@inheritdoc} */ protected function isExpressionSafe($expr) { return XPathHelper::isExpressionNumeric($expr); }
/** * @testdox isExpressionNumeric() tests * @dataProvider getIsExpressionNumericTests */ public function testIsExpressionNumeric($expected, $expr) { $this->assertSame($expected, XPathHelper::isExpressionNumeric($expr)); }