← All changes
|
includes/Dependencies/DI/Definition/ObjectDefinition/PropertyInjection.php
+1
-1
4.5.0
→
4.9.3
View file →
| @@ -34,9 +34,9 @@ | ||
| 34 | 34 | /** |
| 35 | 35 | * @param string $propertyName Property name |
| 36 | 36 | * @param mixed $value Value that should be injected in the property |
| 37 | 37 | */ |
| 38 | - public function __construct(string $propertyName, $value, string $className = null) | |
| 38 | + public function __construct(string $propertyName, $value, ?string $className = null) | |
| 39 | 39 | { |
| 40 | 40 | $this->propertyName = $propertyName; |
| 41 | 41 | $this->value = $value; |
| 42 | 42 | $this->className = $className; |