Skip to content

Commit c7d3c42

Browse files
committed
Core sync
Signed-off-by: alexmerlin <[email protected]>
1 parent a201c89 commit c7d3c42

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/Core/src/App/src/Message.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ class Message
4444
public const RESOURCE_ALREADY_REGISTERED = 'Resource "%s" is already registered.';
4545
public const RESOURCE_NOT_ALLOWED = 'You are not allowed to access this resource.';
4646
public const RESOURCE_NOT_FOUND = '%s not found.';
47-
public const RESTRICTION_DEPRECATION = 'Cannot use both "%s" and "%s" attributes on the same object.';
4847
public const RESTRICTION_IMAGE = 'File must be an image> Accepted mim type(s): %s';
4948
public const RESTRICTION_ROLES = 'At least one role is required.';
5049
public const ROLE_NOT_FOUND = 'Role not found.';
@@ -143,14 +142,6 @@ public static function resourceNotFound(string $resource = 'Resource'): string
143142
return sprintf(self::RESOURCE_NOT_FOUND, $resource);
144143
}
145144

146-
/**
147-
* @return non-empty-string
148-
*/
149-
public static function restrictionDeprecation(string $first, string $second): string
150-
{
151-
return sprintf(self::RESTRICTION_DEPRECATION, $first, $second);
152-
}
153-
154145
/**
155146
* @param string[] $mimeTypes
156147
* @return non-empty-string

src/Core/src/Security/src/Entity/OAuthRefreshToken.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ public function getIdentifier(): string
4848

4949
public function setIdentifier(mixed $identifier): self
5050
{
51-
$this->setId((int) $identifier);
52-
5351
return $this;
5452
}
5553

0 commit comments

Comments
 (0)