Skip to content

Commit c82729a

Browse files
committed
Clean up
1 parent d66fa71 commit c82729a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/TagParsers/ResponseFieldTagParser.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public function parse()
3737
if (!empty($type) && !$this->isSupportedTypeInDocBlocks(explode('|', trim($type, '?'))[0])) {
3838
// Then that wasn't a type, but part of the description
3939
$data['description'] = trim("$type $description");
40-
$data['type'] = null;
4140
return [$name,'description' => $data['description']];
4241
}
4342

src/TagParsers/ResponseFileTagParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function parse()
3939

4040
return [
4141
$path,
42-
'status' => (int) $status,
42+
(int) $status,
4343
'merge' => $merge,
4444
'description' => $description,
4545
];

src/TagParsers/TransformerTagParser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ public function parse()
3838

3939
if (!empty($statusCode)) {
4040
if ($model) {
41-
$data[] = (int)$statusCode;
41+
$data[] = (int) $statusCode;
4242
} else {
43-
$data['status'] = (int)$statusCode;
43+
$data['status'] = (int) $statusCode;
4444
}
4545
}
4646

0 commit comments

Comments
 (0)