Skip to content

Commit

Permalink
Added compatibility with juniwalk/orm@^2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Nov 28, 2024
1 parent 57fef93 commit 9dfce45
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"require": {
"php": ">=8.1",
"doctrine/orm": "^2.0|^3.0",
"juniwalk/orm": "^1.0",
"juniwalk/orm": "^1.0|^2.0",
"juniwalk/utils": "^3.0|^4.0"
},

Expand Down
6 changes: 6 additions & 0 deletions src/Entity/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,12 @@ public function getNote(): ?string
abstract public function createLink(Control $control): string|Link|null;


protected function createHashParams(): mixed
{
return (string) $this;
}


#[ORM\PreFlush]
public function onPreFlush(PreFlushEventArgs $event): void
{
Expand Down

0 comments on commit 9dfce45

Please sign in to comment.