Skip to content

Commit

Permalink
fix: higher visibility for __construct()
Browse files Browse the repository at this point in the history
  • Loading branch information
phanan committed Mar 4, 2021
1 parent 4e5a687 commit 944527e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataTransferObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ abstract class DataTransferObject
private array $exceptNames = [];
private array $onlyNames = [];

private function __construct(array $parameters = [])
protected function __construct(array $parameters = [])
{
$docblockFactory = DocBlockFactory::createInstance();
$typeResolver = new TypeResolver();
Expand Down

0 comments on commit 944527e

Please sign in to comment.