Skip to content

Commit 47828a3

Browse files
committed
Allow multiple versions for property info
1 parent bae3564 commit 47828a3

File tree

3 files changed

+67
-65
lines changed

3 files changed

+67
-65
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
},
3636
"require": {
3737
"fzaninotto/faker": "^1.9",
38-
"symfony/property-info": "^5.1@RC"
38+
"symfony/property-info": ">=4"
3939
}
4040
}

composer.lock

+59-61
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ObjectGraphGenerator.php

+7-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@
1818
class ObjectGraphGenerator
1919
{
2020
private const DEFAULT_SEED = 1;
21-
private Generator $fakerInstance;
2221

23-
private PropertyInfoExtractor $propertyInfo;
22+
/** @var Generator */
23+
private $fakerInstance;
2424

25-
private array $registry;
25+
/** @var PropertyInfoExtractor */
26+
private $propertyInfo;
27+
28+
/** @var array */
29+
private $registry;
2630

2731
public function __construct(array $registry = [])
2832
{

0 commit comments

Comments
 (0)