Skip to content

Commit

Permalink
fix get last object
Browse files Browse the repository at this point in the history
  • Loading branch information
sHorst committed May 5, 2024
1 parent f9b7546 commit 899d947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Domain/Model/AnnotationTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function testAnnotations(): void
}

// has only one object Left
$type = $all_types[0];
$type = array_shift($all_types);

// generate expected return value
$value = new $type();
Expand Down

0 comments on commit 899d947

Please sign in to comment.