Skip to content

Commit 268b93a

Browse files
Update Forwarded
1 parent d1cf36b commit 268b93a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Config/Listener/Forwarded.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,11 @@ public function __construct(array $data)
4949
}
5050

5151
$this->setSource($data['source']);
52-
53-
if (!empty($data)) {
54-
$this->parseFromArray($data);
55-
}
52+
$this->parseFromArray($data);
5653
}
5754

5855
/**
59-
* @throws UnitException
56+
* @param array $data
6057
*/
6158
private function parseFromArray(array $data): void
6259
{

0 commit comments

Comments
 (0)