Completed
Pull Request — master (#3)
by
unknown
07:18
created
src/OAuth/OAuthLibAuthentication.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @return string
58
+     * @return \OAuth\Common\Token\TokenInterface
59 59
      */
60 60
     public function getAccessToken()
61 61
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-     * @return string
66
+     * @return boolean
67 67
      */
68 68
     public function hasAccessToken()
69 69
     {
Please login to merge, or discard this patch.
src/Service/AbstractService.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -89,6 +89,11 @@  discard block
 block discarded – undo
89 89
         return $this->get($this->getBaseUrl() . '/' . $id, $this->type);
90 90
     }
91 91
 
92
+    /**
93
+     * @param string $url
94
+     * @param string $attribute
95
+     * @param integer $value
96
+     */
92 97
     protected function getItemsForAttribute($url, $attribute, $value, $type)
93 98
     {
94 99
         $data[$attribute] = $value;
@@ -97,6 +102,9 @@  discard block
 block discarded – undo
97 102
         ]);
98 103
     }
99 104
 
105
+    /**
106
+     * @param string $url
107
+     */
100 108
     protected function getItemsForAttributes($url, $data, $type)
101 109
     {
102 110
         return $this->get($url, $type, [
Please login to merge, or discard this patch.