Skip to content

Commit 944527e

Browse files
committed
fix: higher visibility for __construct()
1 parent 4e5a687 commit 944527e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataTransferObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ abstract class DataTransferObject
1515
private array $exceptNames = [];
1616
private array $onlyNames = [];
1717

18-
private function __construct(array $parameters = [])
18+
protected function __construct(array $parameters = [])
1919
{
2020
$docblockFactory = DocBlockFactory::createInstance();
2121
$typeResolver = new TypeResolver();

0 commit comments

Comments
 (0)