-
-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
45 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,7 @@ public function __construct(AuditManager $auditManager) | |
} | ||
|
||
/** | ||
* @return array | ||
* @return string[] | ||
*/ | ||
public function getSubscribedEvents() | ||
{ | ||
|
@@ -305,6 +305,9 @@ private function getOriginalEntityData(object $entity): array | |
return $data; | ||
} | ||
|
||
/** | ||
* @return string|int | ||
*/ | ||
private function getRevisionId() | ||
{ | ||
if (null === $this->revisionId) { | ||
|
@@ -392,9 +395,7 @@ private function getInsertRevisionSQL(ClassMetadata $class): string | |
} | ||
|
||
/** | ||
* @param object[] $entityData | ||
* | ||
* @phpstan-param array<string, object> $entityData | ||
* @param array<string, object> $entityData | ||
*/ | ||
private function saveRevisionEntityData(ClassMetadata $class, array $entityData, string $revType): void | ||
{ | ||
|
@@ -494,7 +495,7 @@ private function getHash(object $entity): string | |
* @author Rob Caiger <[email protected]> | ||
* @author Simon Mönch <[email protected]> | ||
* | ||
* @phpstan-return array<string, array<string, mixed>> | ||
* @return array<string, array<string, mixed>> | ||
*/ | ||
private function prepareUpdateData(EntityPersister $persister, object $entity): array | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters