Skip to content

Commit a4210e6

Browse files
committed
Merge branch 'release/4.1.3'
2 parents 34e7896 + 68417b3 commit a4210e6

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# CHANGELOG
22

3+
## 4.1.3 - 2022-02-11
4+
- issue #264 - Wrong PHPDoc @param name and description
5+
36
## 4.1.2 - 2022-02-11
47
- issue #256 - subdirectory not converted in namespaces
8+
- pr #259 - add ReturnTypeWillChange attributes for PHP 8.1
59

610
## 4.1.1 - 2021-07-14
711
- issue #257 - choice tag is not fully handled properly

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![Code Coverage](https://scrutinizer-ci.com/g/WsdlToPhp/PackageGenerator/badges/coverage.png)](https://scrutinizer-ci.com/g/WsdlToPhp/PackageGenerator/)
1010
[![Total Downloads](https://poser.pugx.org/wsdltophp/packagegenerator/downloads)](https://packagist.org/packages/wsdltophp/packagegenerator)
1111
[![StyleCI](https://styleci.io/repos/35660532/shield)](https://styleci.io/repos/35660532)
12-
[![SensioLabsInsight](https://insight.symfony.com/projects/661a53c4-3f4a-4a17-a4b2-051282019c87/mini.png)](https://insight.symfony.com/projects/661a53c4-3f4a-4a17-a4b2-051282019c87)
12+
[![SymfonyInsight](https://insight.symfony.com/projects/73ec7ea6-a771-487a-8ebe-71f6b2e8fd4a/mini.svg)](https://insight.symfony.com/projects/73ec7ea6-a771-487a-8ebe-71f6b2e8fd4a)
1313

1414
Package Generator generates a PHP SDK from any WSDL so you can easily consume any SOAP Web Service without wondering how SOAP is used under the hood.
1515

src/File/Struct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ protected function addStructMethodsGetAnnotationBlockFromXmlAttribute(PhpAnnotat
566566
if ($attribute->isXml()) {
567567
$annotationBlock
568568
->addChild(new PhpAnnotation(self::ANNOTATION_USES, '\DOMDocument::loadXML()'))
569-
->addChild(new PhpAnnotation(self::ANNOTATION_PARAM, 'bool $asString true: returns XML string, false: returns \DOMDocument'))
569+
->addChild(new PhpAnnotation(self::ANNOTATION_PARAM, 'bool $asDomDocument true: returns \DOMDocument, false: returns XML string'))
570570
;
571571
}
572572

tests/resources/generated/ValidApiItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function setDisplayName(?string $displayName = null): self
132132
/**
133133
* Get any value
134134
* @uses \DOMDocument::loadXML()
135-
* @param bool $asString true: returns XML string, false: returns \DOMDocument
135+
* @param bool $asDomDocument true: returns \DOMDocument, false: returns XML string
136136
* @return \DOMDocument|string|null
137137
*/
138138
public function getAny(bool $asDomDocument = false)

0 commit comments

Comments
 (0)