Skip to content

Commit

Permalink
Html clear function returns self, so can chain properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Corbin committed May 2, 2021
1 parent 2f6648f commit 173768f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,11 @@ public function registerProcessorArray(array $processors = null){
* ( normally manually setting any processor after
* defaut has been set will clear defaults )
*
* @return void
* @return Corbinjurgens\QTrans\Html
*/
public function clear(){
$this->registered_processor = [];
return $this;
}

/**
Expand Down

0 comments on commit 173768f

Please sign in to comment.