Skip to content

Commit

Permalink
doc: fix docblock typo (#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond authored Jul 4, 2024
1 parent da23a0d commit 8037756
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Persistence/Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ public function disableAutoRefresh(): static;
public function withoutAutoRefresh(callable $callback): static;

/**
* @deprecated without method "_assertPersisted" instead
* @deprecated Use method "_assertPersisted" instead
*/
public function assertPersisted(string $message = '{entity} is not persisted.'): self;

public function _assertPersisted(string $message = '{entity} is not persisted.'): self;

/**
* @deprecated without method "_assertNotPersisted" instead
* @deprecated Use method "_assertNotPersisted" instead
*/
public function assertNotPersisted(string $message = '{entity} is persisted but it should not be.'): self;

Expand Down
4 changes: 2 additions & 2 deletions src/Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public function _withoutAutoRefresh(callable $callback): static
}

/**
* @deprecated without method "_assertPersisted" instead
* @deprecated Use method "_assertPersisted" instead
*/
public function assertPersisted(string $message = '{entity} is not persisted.'): self
{
Expand All @@ -408,7 +408,7 @@ public function _assertPersisted(string $message = '{entity} is not persisted.')
}

/**
* @deprecated without method "_assertNotPersisted" instead
* @deprecated Use method "_assertNotPersisted" instead
*/
public function assertNotPersisted(string $message = '{entity} is persisted but it should not be.'): self
{
Expand Down

0 comments on commit 8037756

Please sign in to comment.