Skip to content

Commit 898887e

Browse files
authored
Merge pull request #47 from pmmp/propertyinterface-bogus-signature
Fixed PropertyInterface::setType() signature mismatch
2 parents 69546f0 + c399d1f commit 898887e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Property/PropertyInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function getType(bool $outputType = false): ?PropertyType;
4242
*
4343
* @return PropertyInterface
4444
*/
45-
public function setType(PropertyType $type, PropertyType $outputType = null): PropertyInterface;
45+
public function setType(PropertyType $type = null, PropertyType $outputType = null): PropertyInterface;
4646

4747
/**
4848
* @param bool $outputType If set to true the output type hint will be returned (may differ from the base type)

0 commit comments

Comments
 (0)