fix gherkin lint

This commit is contained in:
Viktor Scharf
2025-03-10 15:10:32 +01:00
parent ca729a23c2
commit 0db2145cef
9 changed files with 10 additions and 8 deletions

View File

@@ -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(