Skip to content

Commit

Permalink
reset now returns the object back
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Oct 24, 2023
1 parent eb19ea4 commit fe919db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phalcon/Html/Helper/AbstractSeries.zep
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ abstract class AbstractSeries extends AbstractHelper
/**
* Resets the internal store.
*/
public function reset() -> void
public function reset() -> <AbstractSeries>
{
let this->store = [];

return this;
}

/**
Expand Down

0 comments on commit fe919db

Please sign in to comment.