Completed
Push — master ( a232d7...3fde7a )
by Joram van den
03:30
created
lib/Ajde/Social/Provider/Google/Google/Service/Resource.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,6 +62,11 @@  discard block
 block discarded – undo
62 62
     /** @var array $methods */
63 63
     private $methods;
64 64
 
65
+    /**
66
+     * @param Google_Service_Plus $service
67
+     * @param string $serviceName
68
+     * @param string $resourceName
69
+     */
65 70
     public function __construct($service, $serviceName, $resourceName, $resource)
66 71
     {
67 72
         $this->service = $service;
@@ -76,9 +81,9 @@  discard block
 block discarded – undo
76 81
     /**
77 82
      * TODO(ianbarber): This function needs simplifying.
78 83
      *
79
-     * @param $name
84
+     * @param string $name
80 85
      * @param $arguments
81
-     * @param $expected_class - optional, the expected class name
86
+     * @param string $expected_class - optional, the expected class name
82 87
      * @return Google_Http_Request|expected_class
83 88
      * @throws Google_Exception
84 89
      */
Please login to merge, or discard this patch.
lib/Ajde/Social/Provider/Google/Google/Utils.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
  */
24 24
 class Google_Utils
25 25
 {
26
+    /**
27
+     * @param string $data
28
+     */
26 29
     public static function urlSafeB64Encode($data)
27 30
     {
28 31
         $b64 = base64_encode($data);
Please login to merge, or discard this patch.
lib/Ajde/Social/Provider/Twitter/OAuth.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -197,6 +197,12 @@  discard block
 block discarded – undo
197 197
     // (1) do a lookup in a table of trusted certs keyed off of consumer
198 198
     //
199 199
     // Either way should return a string representation of the certificate
200
+
201
+    /**
202
+     * @param OAuthRequest $request
203
+     *
204
+     * @return string
205
+     */
200 206
     protected abstract function fetch_private_cert(&$request);
201 207
 
202 208
     public function build_signature($request, $consumer, $token)
@@ -332,6 +338,9 @@  discard block
 block discarded – undo
332 338
         return new OAuthRequest($http_method, $http_url, $parameters);
333 339
     }
334 340
 
341
+    /**
342
+     * @param string $name
343
+     */
335 344
     public function set_parameter($name, $value, $allow_duplicates = true)
336 345
     {
337 346
         if ($allow_duplicates && isset($this->parameters[$name])) {
Please login to merge, or discard this patch.
lib/Ajde/Social/Provider/Twitter/twitteroauth.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -91,6 +91,7 @@  discard block
 block discarded – undo
91 91
      * Get a request_token from Twitter
92 92
      *
93 93
      * @returns a key/value array containing oauth_token and oauth_token_secret
94
+     * @param string $oauth_callback
94 95
      */
95 96
     function getRequestToken($oauth_callback)
96 97
     {
@@ -164,6 +165,7 @@  discard block
 block discarded – undo
164 165
 
165 166
     /**
166 167
      * GET wrapper for oAuthRequest.
168
+     * @param string $url
167 169
      */
168 170
     function get($url, $parameters = [])
169 171
     {
@@ -177,6 +179,7 @@  discard block
 block discarded – undo
177 179
 
178 180
     /**
179 181
      * POST wrapper for oAuthRequest.
182
+     * @param string $url
180 183
      */
181 184
     function post($url, $parameters = [])
182 185
     {
@@ -203,6 +206,7 @@  discard block
 block discarded – undo
203 206
 
204 207
     /**
205 208
      * Format and sign an OAuth / API request
209
+     * @param string $method
206 210
      */
207 211
     function oAuthRequest($url, $method, $parameters)
208 212
     {
@@ -222,6 +226,7 @@  discard block
 block discarded – undo
222 226
     /**
223 227
      * Make an HTTP request
224 228
      *
229
+     * @param string $postfields
225 230
      * @return API results
226 231
      */
227 232
     function http($url, $method, $postfields = null)
Please login to merge, or discard this patch.
lib/Ajde/Template/Parser/Xhtml.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
         return $root;
56 56
     }
57 57
 
58
+    /**
59
+     * @param string $xml
60
+     */
58 61
     protected function _breakOutCdata($xml)
59 62
     {
60 63
         $patterns = [
Please login to merge, or discard this patch.
lib/Ajde/User.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -265,6 +265,9 @@
 block discarded – undo
265 265
         return $resetHash;
266 266
     }
267 267
 
268
+    /**
269
+     * @param string $hash
270
+     */
268 271
     public function sendResetMail($hash)
269 272
     {
270 273
         // @todo exception
Please login to merge, or discard this patch.
lib/Ajde/Component.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@
 block discarded – undo
53 53
         return $url;
54 54
     }
55 55
 
56
+    /**
57
+     * @return string
58
+     */
56 59
     public function getFilename()
57 60
     {
58 61
         return $this->get('filename');
Please login to merge, or discard this patch.
lib/Ajde/Db.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@
 block discarded – undo
53 53
         return $url;
54 54
     }
55 55
 
56
+    /**
57
+     * @return string
58
+     */
56 59
     public function getFilename()
57 60
     {
58 61
         return $this->get('filename');
Please login to merge, or discard this patch.
lib/Ajde/Fs/Find.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@  discard block
 block discarded – undo
2 2
 
3 3
 class Ajde_Fs_Find extends Ajde_Object_Static
4 4
 {
5
+    /**
6
+     * @param string $pattern
7
+     */
5 8
     public static function findFile($dir, $pattern)
6 9
     {
7 10
         $search = Config::get("local_root") . DIRECTORY_SEPARATOR . $dir . $pattern;
@@ -28,6 +31,10 @@  discard block
 block discarded – undo
28 31
         return $return;
29 32
     }
30 33
 
34
+    /**
35
+     * @param string $dir
36
+     * @param string $pattern
37
+     */
31 38
     public static function findFilenames($dir, $pattern, $flags = 0)
32 39
     {
33 40
         $files = self::findFiles($dir, $pattern, $flags);
Please login to merge, or discard this patch.