diff --git a/README.md b/README.md index 5a55011..f4e79e2 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A snippet for fetching and parsing resources from the document tree or custom DB * PHP >= 5.4 * MySQL >= 8 or MariaDB >= 10.3.10 (not tested in older versions). * [(MODX)EvolutionCMS](https://github.com/evolution-cms/evolution) >= 1.1 -* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.30 +* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.40.1 ## Documentation diff --git a/composer.json b/composer.json index 28ef8d9..dce2756 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "license": "MIT", "require": { "php": ">=5.4.0", - "dd/evolutioncms-libraries-ddtools": ">=0.30.0", + "dd/evolutioncms-libraries-ddtools": ">=0.40.1", "composer/installers": "~1.0.0" }, "autoload": { diff --git a/ddGetDocuments_snippet.php b/ddGetDocuments_snippet.php index 36ee404..0d4988a 100644 --- a/ddGetDocuments_snippet.php +++ b/ddGetDocuments_snippet.php @@ -41,13 +41,13 @@ } //Backward compatibility -extract(\ddTools::verifyRenamedParams( - $params, - [ +extract(\ddTools::verifyRenamedParams([ + 'params' => $params, + 'compliance' => [ 'outputter' => 'outputFormat', 'outputterParams' => 'outputFormatParams' ] -)); +])); //General $total =