Completed
Push — master ( e678ca...d0596b )
by Alexey
7s
created
source/OAuth2/WebServerApplication.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,26 +37,26 @@
 block discarded – undo
37 37
      * Access type constants
38 38
      */
39 39
     const ACCESS_TYPE_ONLINE  = 'online',
40
-          ACCESS_TYPE_OFFLINE = 'offline';
40
+            ACCESS_TYPE_OFFLINE = 'offline';
41 41
 
42 42
     /**
43 43
      * Approval constants
44 44
      */
45 45
     const APPROVAL_PROMPT_AUTO  = 'auto',
46
-          APPROVAL_PROMPT_FORCE = 'force';
46
+            APPROVAL_PROMPT_FORCE = 'force';
47 47
 
48 48
     /**
49 49
      * Grant type constants
50 50
      */
51 51
     const GRANT_TYPE_AUTHORIZATION = 'authorization_code',
52
-          GRANT_TYPE_REFRESH       = 'refresh_token';
52
+            GRANT_TYPE_REFRESH       = 'refresh_token';
53 53
 
54 54
     /**
55 55
      * Google Api endpoints
56 56
      */
57 57
     const ENDPOINT_INITIAL_REQUEST      = 'https://accounts.google.com/o/oauth2/auth',
58
-          ENDPOINT_ACCESS_TOKEN_REQUEST = 'https://accounts.google.com/o/oauth2/token',
59
-          ENDPOINT_REVOKE_TOKEN         = 'https://accounts.google.com/o/oauth2/revoke';
58
+            ENDPOINT_ACCESS_TOKEN_REQUEST = 'https://accounts.google.com/o/oauth2/token',
59
+            ENDPOINT_REVOKE_TOKEN         = 'https://accounts.google.com/o/oauth2/revoke';
60 60
 
61 61
     /**
62 62
      * @var Token access token
Please login to merge, or discard this patch.
examples/products.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@
 block discarded – undo
25 25
 use alxmsl\Google\AndroidPublisher\Purchases\Products\Resource as ProductsResource;
26 26
 
27 27
 const PACKAGE_NAME   = 'com.example.package',
28
-      ACCESS_TOKEN   = '4CcE5s_T0keN',
29
-      PRODUCT_ID     = 'com.example.package.product.1',
30
-      PURCHASE_TOKEN = 'puRCH45e_tokEN';
28
+        ACCESS_TOKEN   = '4CcE5s_T0keN',
29
+        PRODUCT_ID     = 'com.example.package.product.1',
30
+        PURCHASE_TOKEN = 'puRCH45e_tokEN';
31 31
 
32 32
 $Client = new Client();
33 33
 $Client->setPackage(PACKAGE_NAME)
Please login to merge, or discard this patch.
examples/webclient.uri.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
 
27 27
 // Define client identification
28 28
 const CLIENT_ID     = 'my-client@id',
29
-      CLIENT_SECRET = 'clientsecret',
30
-      REDIRECT_URI  = 'http://example.com/oauth2callback';
29
+        CLIENT_SECRET = 'clientsecret',
30
+        REDIRECT_URI  = 'http://example.com/oauth2callback';
31 31
 
32 32
 // Create new client
33 33
 $Client = new WebServerApplication();
Please login to merge, or discard this patch.