Skip to content

Commit

Permalink
Fix breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofandel committed Dec 3, 2024
1 parent 9521fd6 commit 4f0ab41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ abstract class Model extends BaseModel implements TaggableInterface, TwillModelC

public $timestamps = true;

public static function boot(): void
public static function boot()
{
static::saving(function (self $model) {
// When saving a model multiple times in a row without refresh, then the model should not be recently created anymore
Expand Down

0 comments on commit 4f0ab41

Please sign in to comment.