Skip to content

Commit

Permalink
Collapse line
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Mar 23, 2024
1 parent c48c309 commit 9b10c04
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/php/lang/reflection/Property.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ public function constraint() {
return Reflection::meta()->propertyType($this->reflect);
};

$t= Type::resolve(
$this->reflect->getType(),
Member::resolve($this->reflect),
$api
);
$t= Type::resolve($this->reflect->getType(), Member::resolve($this->reflect), $api);
return new Constraint($t ?? Type::$VAR, $present);
}

Expand Down

0 comments on commit 9b10c04

Please sign in to comment.