Skip to content

Commit 701dd0f

Browse files
minor #33007 Fix some return type annotations (derrabus)
This PR was merged into the 3.4 branch. Discussion ---------- Fix some return type annotations | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A This PR fixed some incorrect return type declarations I discovered while working on #32993. Commits ------- 0a78dc0f6f Fix some return type annotations.
2 parents 65ab825 + 477fd39 commit 701dd0f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Console/Descriptor/JsonDescriptor.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ protected function describeContainerParameter($parameter, array $options = [])
179179

180180
/**
181181
* Writes data as json.
182-
*
183-
* @return array|string
184182
*/
185183
private function writeData(array $data, array $options)
186184
{

Console/Descriptor/XmlDescriptor.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ protected function describeContainerParameter($parameter, array $options = [])
132132

133133
/**
134134
* Writes DOM document.
135-
*
136-
* @return \DOMDocument|string
137135
*/
138136
private function writeDocument(\DOMDocument $dom)
139137
{

0 commit comments

Comments
 (0)