From 08813d836770a8c2741de7e5734ed21c3774c8ed Mon Sep 17 00:00:00 2001 From: Louis-Arnaud Catoire Date: Thu, 4 Jun 2026 10:24:14 +0200 Subject: [PATCH] [Sync EN] Fix various class method signatures to match stub --- language-snippets.ent | 7 ++++ reference/pdo/pdostatement/setfetchmode.xml | 33 ++++++++++++++----- reference/phar/Phar/setStub.xml | 11 ++++--- reference/phar/PharData/setStub.xml | 31 +++++++++++++---- .../getstaticpropertyvalue.xml | 6 ++-- 5 files changed, 65 insertions(+), 23 deletions(-) diff --git a/language-snippets.ent b/language-snippets.ent index a05d1503e8..05f89bcac3 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -904,6 +904,13 @@ de ce manuel pour une description des + 8.4.0 + + Le type de retour est maintenant &true;, auparavant il était bool. + +'> + diff --git a/reference/pdo/pdostatement/setfetchmode.xml b/reference/pdo/pdostatement/setfetchmode.xml index 21220fa060..c1b5bc5297 100755 --- a/reference/pdo/pdostatement/setfetchmode.xml +++ b/reference/pdo/pdostatement/setfetchmode.xml @@ -1,5 +1,5 @@ - + @@ -12,25 +12,25 @@ &reftitle.description; - public boolPDOStatement::setFetchMode + public truePDOStatement::setFetchMode intmode - public boolPDOStatement::setFetchMode + public truePDOStatement::setFetchMode intmodePDO::FETCH_COLUMN intcolno - public boolPDOStatement::setFetchMode + public truePDOStatement::setFetchMode intmodePDO::FETCH_CLASS stringclass arraynullconstructorArgs&null; - public boolPDOStatement::setFetchMode + public truePDOStatement::setFetchMode intmodePDO::FETCH_INTO objectobject @@ -87,9 +87,26 @@ &reftitle.returnvalues; - - &return.success; - + + &return.true.always; + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + &return.type.true.84; + + + diff --git a/reference/phar/Phar/setStub.xml b/reference/phar/Phar/setStub.xml index 793ea37a5b..f595932bd4 100644 --- a/reference/phar/Phar/setStub.xml +++ b/reference/phar/Phar/setStub.xml @@ -1,5 +1,5 @@ - + @@ -9,7 +9,7 @@ &reftitle.description; - public boolPhar::setStub + public truePhar::setStub resourcestringstub intlength-1 @@ -72,9 +72,9 @@ include 'phar://monphar.phar/unfichier.php'; &reftitle.returnvalues; - - &return.success; - + + &return.true.always; + @@ -99,6 +99,7 @@ include 'phar://monphar.phar/unfichier.php'; + &return.type.true.84; 8.3.0 diff --git a/reference/phar/PharData/setStub.xml b/reference/phar/PharData/setStub.xml index 0b589124f3..785fd7a92f 100644 --- a/reference/phar/PharData/setStub.xml +++ b/reference/phar/PharData/setStub.xml @@ -1,5 +1,5 @@ - + @@ -9,9 +9,9 @@ &reftitle.description; - public boolPharData::setStub + public truePharData::setStub stringstub - intlen-1 + intlength-1 @@ -34,7 +34,7 @@ - len + length @@ -48,9 +48,9 @@ &reftitle.returnvalues; - - &return.success; - + + &return.true.always; + @@ -60,6 +60,23 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + &return.type.true.84; + + + + + &reftitle.seealso; diff --git a/reference/reflection/reflectionclass/getstaticpropertyvalue.xml b/reference/reflection/reflectionclass/getstaticpropertyvalue.xml index 25a5772654..1ba97417b6 100644 --- a/reference/reflection/reflectionclass/getstaticpropertyvalue.xml +++ b/reference/reflection/reflectionclass/getstaticpropertyvalue.xml @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ public mixedReflectionClass::getStaticPropertyValue stringname - mixeddef_value + mixeddefault Récupère la valeur d'une propriété statique de la classe. @@ -33,7 +33,7 @@ - def_value + default Une valeur par défaut à retourner lorsque la classe ne déclare pas