Skip to content

Commit

Permalink
Update code-style 💻
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 5, 2022
1 parent bcebe07 commit 8cdba93
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/DataTransferObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ abstract class DataTransferObject implements Contract
*/
public function __construct(array $items = [])
{
$this->merge($items);
$this->merge($items);
}

public function get(string $key)
Expand All @@ -59,7 +59,9 @@ public function set(string $key, $value): DataTransferObject
}

/**
* @throws \ReflectionException
* @param array $items
*
* @throws ReflectionException
*/
public function merge(array $items): DataTransferObject
{
Expand Down

0 comments on commit 8cdba93

Please sign in to comment.