Skip to content

Commit

Permalink
Revert "fix: higher visibility for __construct()"
Browse files Browse the repository at this point in the history
Extending classes should make use of static::make() instead.

This reverts commit 944527e.
  • Loading branch information
phanan committed Mar 4, 2021
1 parent 944527e commit 8b5797e
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 = [];

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

0 comments on commit 8b5797e

Please sign in to comment.