diff --git a/tests/Sabre/DAV/ServerPropsInfiniteDepthTest.php b/tests/Sabre/DAV/ServerPropsInfiniteDepthTest.php index f4f94d37c8..b410286c66 100644 --- a/tests/Sabre/DAV/ServerPropsInfiniteDepthTest.php +++ b/tests/Sabre/DAV/ServerPropsInfiniteDepthTest.php @@ -193,7 +193,7 @@ function testFilesThatAreSiblingsOfDirectoriesShouldBeReportedAsFiles() { /** @var \SimpleXMLElement $thing */ $hrefPaths[] = strip_tags($thing->asXML()); } - } else if ($test === '/d:multistatus/d:response/d:propstat/d:prop/d:resourcetype') { + } elseif ($test === '/d:multistatus/d:response/d:propstat/d:prop/d:resourcetype') { $count = 0; foreach ($xml->xpath($test) as $thing) { /** @var \SimpleXMLElement $thing */