Permalink
Browse files

- Interface function are not allowed to have bodies, breaks php lint.

  • Loading branch information...
1 parent 1b1dccd commit 9f75aa928698127e91a5e99b769e2185ec937043 Bart Teeuwisse committed with dustinwhittle Nov 26, 2009
Showing with 8 additions and 8 deletions.
  1. +8 −8 lib/YahooSessionStore.inc
@@ -63,14 +63,14 @@ interface YahooSessionStore {
*
* @return True if a request token is present, false otherwise.
*/
- function hasRequestToken(){}
+ function hasRequestToken();
/**
* Indicates if the session store has an access token.
*
* @return True if an access token is present, false otherwise.
*/
- function hasAccessToken(){}
+ function hasAccessToken();
/**
* Stores the given request token in the session store.
@@ -79,21 +79,21 @@ interface YahooSessionStore {
* the OAuth request token.
* @return True on success, false otherwise.
*/
- function storeRequestToken($token){}
+ function storeRequestToken($token);
/**
* Fetches and returns the request token from the session store.
*
* @return The request token.
*/
- function fetchRequestToken(){}
+ function fetchRequestToken();
/**
* Clears the request token from the session store.
*
* @return True on success, false otherwise.
*/
- function clearRequestToken(){}
+ function clearRequestToken();
/**
* Stores the given access token in the session store.
@@ -102,19 +102,19 @@ interface YahooSessionStore {
* the OAuth access token.
* @return True on success, false otherwise.
*/
- function storeAccessToken($token){}
+ function storeAccessToken($token);
/**
* Fetches and returns the access token from the session store.
*
* @return The access token.
*/
- function fetchAccessToken(){}
+ function fetchAccessToken();
/**
* Clears the access token from the session store.
*
* @return True on success, false otherwise.
*/
- function clearAccessToken(){}
+ function clearAccessToken();
}

0 comments on commit 9f75aa9

Please sign in to comment.