Code style improvements

oauth1test
Brooke Bryan 2014-12-15 18:17:29 +00:00
parent 85d88a449e
commit bc3845d9e5
2 changed files with 18 additions and 18 deletions

View File

@ -135,7 +135,7 @@ abstract class AbstractProvider implements ProviderInterface
} }
// @codeCoverageIgnoreStart // @codeCoverageIgnoreStart
public function authorize($options = array()) public function authorize($options = [])
{ {
$url = $this->getAuthorizationUrl($options); $url = $this->getAuthorizationUrl($options);
if ($this->redirectHandler) { if ($this->redirectHandler) {

View File

@ -4,7 +4,7 @@ namespace League\OAuth2\Client\Test\Provider;
use League\OAuth2\Client\Provider\AbstractProvider; use League\OAuth2\Client\Provider\AbstractProvider;
use League\OAuth2\Client\Token\AccessToken; use League\OAuth2\Client\Token\AccessToken;
use \Mockery as m; use Mockery as m;
class AbstractProviderTest extends \PHPUnit_Framework_TestCase class AbstractProviderTest extends \PHPUnit_Framework_TestCase
{ {