Completed
Pull Request — master (#117)
by Deven
17:58
created
vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@
 block discarded – undo
105 105
         );
106 106
     }
107 107
 
108
+    /**
109
+     * @param Name $type
110
+     */
108 111
     protected function addAlias(Stmt\UseUse $use, $type) {
109 112
         // Constant names are case sensitive, everything else case insensitive
110 113
         if ($type === Stmt\Use_::TYPE_CONSTANT) {
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,6 +175,10 @@  discard block
 block discarded – undo
175 175
         return $this->{'p' . $node->getType()}($node);
176 176
     }
177 177
 
178
+    /**
179
+     * @param string $type
180
+     * @param string $operatorString
181
+     */
178 182
     protected function pInfixOp($type, Node $leftNode, $operatorString, Node $rightNode) {
179 183
         list($precedence, $associativity) = $this->precedenceMap[$type];
180 184
 
@@ -183,11 +187,19 @@  discard block
 block discarded – undo
183 187
              . $this->pPrec($rightNode, $precedence, $associativity, 1);
184 188
     }
185 189
 
190
+    /**
191
+     * @param string $type
192
+     * @param string $operatorString
193
+     */
186 194
     protected function pPrefixOp($type, $operatorString, Node $node) {
187 195
         list($precedence, $associativity) = $this->precedenceMap[$type];
188 196
         return $operatorString . $this->pPrec($node, $precedence, $associativity, 1);
189 197
     }
190 198
 
199
+    /**
200
+     * @param string $type
201
+     * @param string $operatorString
202
+     */
191 203
     protected function pPostfixOp($type, Node $node, $operatorString) {
192 204
         list($precedence, $associativity) = $this->precedenceMap[$type];
193 205
         return $this->pPrec($node, $precedence, $associativity, -1) . $operatorString;
@@ -252,7 +264,7 @@  discard block
 block discarded – undo
252 264
      *
253 265
      * @param string $string Not to be indented string
254 266
      *
255
-     * @return mixed String marked with $this->noIndentToken's.
267
+     * @return string String marked with $this->noIndentToken's.
256 268
      */
257 269
     protected function pNoIndent($string) {
258 270
         return str_replace("\n", "\n" . $this->noIndentToken, $string);
Please login to merge, or discard this patch.
vendor/nikic/php-parser/test/PhpParser/Builder/ClassTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 
10 10
 class ClassTest extends \PHPUnit_Framework_TestCase
11 11
 {
12
+    /**
13
+     * @param string $class
14
+     */
12 15
     protected function createClassBuilder($class) {
13 16
         return new Class_($class);
14 17
     }
Please login to merge, or discard this patch.
vendor/nikic/php-parser/test/PhpParser/Builder/MethodTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@
 block discarded – undo
10 10
 
11 11
 class MethodTest extends \PHPUnit_Framework_TestCase
12 12
 {
13
+    /**
14
+     * @param string $name
15
+     */
13 16
     public function createMethodBuilder($name) {
14 17
         return new Method($name);
15 18
     }
Please login to merge, or discard this patch.
vendor/nikic/php-parser/test/PhpParser/NodeAbstractTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -6,6 +6,10 @@
 block discarded – undo
6 6
     public $subNode1;
7 7
     public $subNode2;
8 8
 
9
+    /**
10
+     * @param string $subNode1
11
+     * @param string $subNode2
12
+     */
9 13
     public function __construct($subNode1, $subNode2, $attributes) {
10 14
         parent::__construct(null, $attributes);
11 15
         $this->subNode1 = $subNode1;
Please login to merge, or discard this patch.
vendor/OAuth/OAuth.php 1 patch
Doc Comments   +20 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@  discard block
 block discarded – undo
13 13
   public $key;
14 14
   public $secret;
15 15
 
16
+  /**
17
+   * @param string $secret
18
+   */
16 19
   function __construct($key, $secret, $callback_url=NULL) {
17 20
     $this->key = $key;
18 21
     $this->secret = $secret;
@@ -193,6 +196,12 @@  discard block
 block discarded – undo
193 196
   // (1) do a lookup in a table of trusted certs keyed off of consumer
194 197
   //
195 198
   // Either way should return a string representation of the certificate
199
+
200
+  /**
201
+   * @param OAuthRequest $request
202
+   *
203
+   * @return string
204
+   */
196 205
   protected abstract function fetch_private_cert(&$request);
197 206
 
198 207
   public function build_signature($request, $consumer, $token) {
@@ -307,6 +316,7 @@  discard block
 block discarded – undo
307 316
 
308 317
   /**
309 318
    * pretty much a helper function to set up the request
319
+   * @param OAuthConsumer $consumer
310 320
    */
311 321
   public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parameters=NULL) {
312 322
     $parameters = ($parameters) ?  $parameters : array();
@@ -322,6 +332,9 @@  discard block
 block discarded – undo
322 332
     return new OAuthRequest($http_method, $http_url, $parameters);
323 333
   }
324 334
 
335
+  /**
336
+   * @param string $name
337
+   */
325 338
   public function set_parameter($name, $value, $allow_duplicates = true) {
326 339
     if ($allow_duplicates && isset($this->parameters[$name])) {
327 340
       // We have already added parameter(s) with this name, so add to the list
@@ -337,6 +350,9 @@  discard block
 block discarded – undo
337 350
     }
338 351
   }
339 352
 
353
+  /**
354
+   * @param string $name
355
+   */
340 356
   public function get_parameter($name) {
341 357
     return isset($this->parameters[$name]) ? $this->parameters[$name] : null;
342 358
   }
@@ -462,6 +478,10 @@  discard block
 block discarded – undo
462 478
   }
463 479
 
464 480
 
481
+  /**
482
+   * @param OAuthSignatureMethod_HMAC_SHA1 $signature_method
483
+   * @param OAuthConsumer $consumer
484
+   */
465 485
   public function sign_request($signature_method, $consumer, $token) {
466 486
     $this->set_parameter(
467 487
       "oauth_signature_method",
Please login to merge, or discard this patch.
vendor/OAuth/OAuthClient.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -108,6 +108,9 @@  discard block
 block discarded – undo
108 108
         return new OAuthConsumer($this->consumerKey, $this->consumerSecret);
109 109
     }
110 110
 
111
+    /**
112
+     * @param string $httpMethod
113
+     */
111 114
     private function createRequest($httpMethod, $url, $token, array $parameters) {
112 115
         $consumer = $this->createConsumer();
113 116
         $request = OAuthRequest::from_consumer_and_token($consumer, $token, $httpMethod, $url, $parameters);
@@ -140,6 +143,9 @@  discard block
 block discarded – undo
140 143
         return $result;
141 144
     }
142 145
 
146
+    /**
147
+     * @param string $authorization
148
+     */
143 149
     private function doPostMultipartFormData($url, $authorization, $paths, $data) {
144 150
         $boundary = Text::uuid();
145 151
 
@@ -171,6 +177,9 @@  discard block
 block discarded – undo
171 177
         return $result;
172 178
     }
173 179
 
180
+    /**
181
+     * @param OAuthRequest $request
182
+     */
174 183
     private function doRequest($request) {
175 184
         if ($request->get_normalized_http_method() == 'POST') {
176 185
             $data = $this->doPost($this->url, $request->to_postdata());
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
  */
13 13
 namespace vendor\OAuth;
14 14
 
15
-use App\Network\Http\HttpSocket;
16 15
 use Cake\Utility\Text;
17 16
 use Cake\Network\Http\Client;
18 17
 
Please login to merge, or discard this patch.
phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -271,7 +271,6 @@
 block discarded – undo
271 271
      * Sets the text portion (short and long description combined) of the doc
272 272
      * block.
273 273
      *
274
-     * @param string $docblock The new text portion of the doc block.
275 274
      * 
276 275
      * @return $this This doc block.
277 276
      */
Please login to merge, or discard this patch.
reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Location.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * 
47
-     * @param type $lineNumber
47
+     * @param integer $lineNumber
48 48
      * @return $this
49 49
      */
50 50
     public function setLineNumber($lineNumber)
Please login to merge, or discard this patch.