| @@ 132-140 (lines=9) @@ | ||
| 129 | * |
|
| 130 | * @throws RepositoryException |
|
| 131 | */ |
|
| 132 | public function delete(int $identifier): void |
|
| 133 | { |
|
| 134 | try { |
|
| 135 | $this->deleteResource($identifier); |
|
| 136 | } catch (RepositoryException $exception) { |
|
| 137 | $message = 'Client redirect URI deletion failed.'; |
|
| 138 | throw new RepositoryException($message, 0, $exception); |
|
| 139 | } |
|
| 140 | } |
|
| 141 | ||
| 142 | /** |
|
| 143 | * @inheritdoc |
|
| @@ 116-124 (lines=9) @@ | ||
| 113 | * |
|
| 114 | * @throws RepositoryException |
|
| 115 | */ |
|
| 116 | public function delete(string $identifier): void |
|
| 117 | { |
|
| 118 | try { |
|
| 119 | $this->deleteResource($identifier); |
|
| 120 | } catch (RepositoryException $exception) { |
|
| 121 | $message = 'Scope deletion failed.'; |
|
| 122 | throw new RepositoryException($message, 0, $exception); |
|
| 123 | } |
|
| 124 | } |
|
| 125 | ||
| 126 | /** |
|
| 127 | * @inheritdoc |
|