Commit 5be9e0d9d31e2b3ba4ba1f938c612e9e1327b296

Authored by Benjamin Renard
1 parent 870b02a4

method count of DOMNodeList is only enable since PHP 7.2 => replace it by length property

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
php/WebServices/Tests/Suite/TestGetObsDataTree_40.php
... ... @@ -31,7 +31,7 @@ class TestGetObsDataTree_40 extends TestAbstract
31 31 );
32 32 }
33 33 $nodes = $doc->getElementsByTagName('LocalDataBaseParameters');
34   - if ($nodes->count() == 0) {
  34 + if ($nodes->length == 0) {
35 35 return array(
36 36 'success' => FALSE,
37 37 'message' => 'Cannot retrieve LocalDataBaseParameters node',
... ...