| Total Complexity | 6 |
| Total Lines | 69 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class Trello extends AbstractProvider |
||
| 16 | { |
||
| 17 | const NAME = 'trello'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | 2 | public function getBaseUri() |
|
| 23 | { |
||
| 24 | 2 | return 'https://api.trello.com/1/'; |
|
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | 1 | public function getAuthorizeUri() |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | 1 | public function getRequestTokenUri() |
|
| 39 | { |
||
| 40 | 1 | return 'https://trello.com/1/OAuthGetRequestToken'; |
|
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | 1 | public function getRequestTokenAccessUri() |
|
| 47 | { |
||
| 48 | 1 | return 'https://trello.com/1/OAuthGetAccessToken'; |
|
| 49 | } |
||
| 50 | |||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | 1 | public function getName() |
|
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | 1 | public function getIdentity(AccessTokenInterface $accessToken) |
|
| 86 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..