File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed
Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments