Skip to content

Commit

Permalink
Merge pull request #2 from shutterstock/const-to-static
Browse files Browse the repository at this point in the history
changing to vars for better unit testability
  • Loading branch information
jacobemerick committed May 2, 2014
2 parents a7e0966 + 7803101 commit b258c9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Client.php
Expand Up @@ -5,10 +5,10 @@
class Client
{

const PRODUCTION_URL = 'https://api.bigstockphoto.com/2/oauth2';
const DEVELOPMENT_URL = 'https://testapi.bigstockphoto.com/2/oauth2';
protected static PRODUCTION_URL = 'https://api.bigstockphoto.com/2/oauth2';
protected static DEVELOPMENT_URL = 'https://testapi.bigstockphoto.com/2/oauth2';

const TOKEN_ENDPOINT = 'token';
protected static TOKEN_ENDPOINT = 'token';

protected $client;
protected $secret;
Expand Down

0 comments on commit b258c9b

Please sign in to comment.