Skip to content

Commit

Permalink
Removed import and other formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
devedup committed Feb 4, 2022
1 parent 25e0639 commit 92bd8cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Api/Response/JsonWebKeySetCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Azimo\Apple\Api\Response;

use Azimo\Apple\Api\Enum\CryptographicAlgorithmEnum;
use Azimo\Apple\Api\Exception\UnsupportedCryptographicAlgorithmException;

class JsonWebKeySetCollection
Expand All @@ -19,7 +18,6 @@ public function __construct(array $authKeys)

public function getByCryptographicAlgorithm(string $algorithm): ?JsonWebKeySet
{

$result = $this->authKeys[$algorithm] ?? null;
if(!$result) {
throw new UnsupportedCryptographicAlgorithmException(
Expand All @@ -29,6 +27,7 @@ public function getByCryptographicAlgorithm(string $algorithm): ?JsonWebKeySet
)
);
}

return $result;
}
}

0 comments on commit 92bd8cb

Please sign in to comment.