diff --git a/lib/mlbackend/php/phpml/readme_moodle.txt b/lib/mlbackend/php/phpml/readme_moodle.txt
index aec95619a3f..c926e0db2b3 100644
--- a/lib/mlbackend/php/phpml/readme_moodle.txt
+++ b/lib/mlbackend/php/phpml/readme_moodle.txt
@@ -1,6 +1,6 @@
-Current version is 0.8.0
+Current version is 0.10.0
-# Download latest stable version from https://github.com/jorgecasas/php-ml
+# Download latest stable version from https://gitlab.com/php-ai/php-ml
# Remove all files but:
* src/
* LICENSE
@@ -8,6 +8,3 @@ Current version is 0.8.0
# Copy LICENSE file to /path/to/moodle/lib/mlbackend/php/phpml
# Applied patch https://github.com/jorgecasas/php-ml/pull/5
-2023/01/26
-----------
-- Changing the repository URL to https://github.com/jorgecasas/php-ml
diff --git a/lib/mlbackend/php/phpml/src/Phpml/Classification/Ensemble/Bagging.php b/lib/mlbackend/php/phpml/src/Phpml/Classification/Ensemble/Bagging.php
index 2c9010d0bc0..2c9de71b69a 100644
--- a/lib/mlbackend/php/phpml/src/Phpml/Classification/Ensemble/Bagging.php
+++ b/lib/mlbackend/php/phpml/src/Phpml/Classification/Ensemble/Bagging.php
@@ -39,7 +39,7 @@ class Bagging implements Classifier
/**
* @var array
*/
- protected $classifierOptions = ['depth' => 20];
+ protected $classifierOptions = ['maxDepth' => 20];
/**
* @var array
diff --git a/lib/mlbackend/php/phpml/src/Phpml/FeatureUnion.php b/lib/mlbackend/php/phpml/src/Phpml/FeatureUnion.php
index 645a4219c50..3751e6fee02 100644
--- a/lib/mlbackend/php/phpml/src/Phpml/FeatureUnion.php
+++ b/lib/mlbackend/php/phpml/src/Phpml/FeatureUnion.php
@@ -14,7 +14,7 @@ final class FeatureUnion implements Transformer
private $pipelines = [];
/**
- * @var Pipeline[]
+ * @param Pipeline[] $pipelines
*/
public function __construct(array $pipelines)
{
diff --git a/lib/mlbackend/php/thirdpartylibs.xml b/lib/mlbackend/php/thirdpartylibs.xml
index c1fe6af9d6a..58e57386418 100644
--- a/lib/mlbackend/php/thirdpartylibs.xml
+++ b/lib/mlbackend/php/thirdpartylibs.xml
@@ -4,7 +4,7 @@
phpml
PHP-ML
Machine learning library used to generate data for the Analytics system.
- 0.9.0
+ 0.10.0
MIT
https://gitlab.com/php-ai/php-ml