fix gherkin lint
This commit is contained in:
@@ -182,10 +182,10 @@ class SearchContext implements Context {
|
||||
$property['value'],
|
||||
$user
|
||||
);
|
||||
if (is_object($fileResult)) {
|
||||
if (\is_object($fileResult)) {
|
||||
$fileResultProperty = $fileResult->xpath("d:propstat//" . $property['name']);
|
||||
} else {
|
||||
throw new Exception("Expected fileResult to be an object, but found " . gettype($fileResult));
|
||||
throw new Exception("Expected fileResult to be an object, but found " . \gettype($fileResult));
|
||||
}
|
||||
if ($fileResultProperty) {
|
||||
Assert::assertMatchesRegularExpression(
|
||||
|
||||
Reference in New Issue
Block a user