Skip to content

Commit

Permalink
Fix improper class naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Petar Obradović committed Dec 20, 2018
1 parent 89d29d7 commit b43be3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Model/Grant.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Trikoder\Bundle\OAuth2Bundle\Model;

use RuntimeException;
use Trikoder\Bundle\OAuth2Bundle\Oauth2Grants;
use Trikoder\Bundle\OAuth2Bundle\OAuth2Grants;

class Grant
{
Expand All @@ -14,7 +14,7 @@ class Grant

public function __construct(string $grant)
{
if (!Oauth2Grants::has($grant)) {
if (!OAuth2Grants::has($grant)) {
throw new RuntimeException(
sprintf('The \'%s\' grant is not supported.', $grant)
);
Expand Down
2 changes: 1 addition & 1 deletion Oauth2Grants.php → OAuth2Grants.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Trikoder\Bundle\OAuth2Bundle;

final class Oauth2Grants
final class OAuth2Grants
{
/**
* @see https://tools.ietf.org/html/rfc6749#section-1.3.1
Expand Down

0 comments on commit b43be3d

Please sign in to comment.