Skip to content

Commit

Permalink
Drop PropertyBuilder from DocBlockAnnotations
Browse files Browse the repository at this point in the history
  • Loading branch information
reimic committed Mar 12, 2024
1 parent 129d921 commit 611627d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/WordPress/JsonMapper/Evaluators/DocBlockAnnotations.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ public function evaluate(
$property_map->merge( $this->compute_property_map( $object_wrapper ) );
}

private function compute_property_map( ObjectWrapper $object ): PropertyMap {
/**
* @param ObjectWrapper $object
* @return PropertyMap
*/
private function compute_property_map(ObjectWrapper $object ): PropertyMap {
$intermediate_property_map = new PropertyMap();
foreach ( self::get_properties( $object ) as $property ) {
$docBlock = $property->getDocComment();
Expand Down

0 comments on commit 611627d

Please sign in to comment.