Skip to content

Commit

Permalink
Fixed return type for get method
Browse files Browse the repository at this point in the history
  • Loading branch information
MaestroError committed May 9, 2024
1 parent 0ba4bb8 commit 8df99ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Patterns/BuilderPattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function end(array|callable $config = []): BuilderContract {
return $this->builder->setOptions($config); // Return the Builder object
}

public function get(): ?array {
public function get(): mixed {
return $this->builder->get();
}

Expand Down

0 comments on commit 8df99ab

Please sign in to comment.