Completed
Pull Request — master (#90)
by Reginaldo
18:50
created
app/Controller/ApiController.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -376,6 +376,8 @@
 block discarded – undo
376 376
 
377 377
 	/**
378 378
 	* Valida o usuario que está tentando usar a api
379
+	* @param CakeRequest $req
380
+	* @param string $api
379 381
 	*/
380 382
 	public function validate_use_api($req, $api)
381 383
 	{
Please login to merge, or discard this patch.
app/Controller/VariacaoController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@
 block discarded – undo
2 2
 
3 3
 class VariacaoController extends AppController {
4 4
 
5
+	/**
6
+	 * @param string $usuario_id
7
+	 */
5 8
 	public function s_adicionar_variacao($variacoes, $produto_id, $usuario_id) {
6 9
 		if (empty($variacoes) || empty($produto_id)) {
7 10
 			return false;
Please login to merge, or discard this patch.
app/Vendor/PagSeguro/source/examples/createPaymentRequest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@
 block discarded – undo
119 119
         }
120 120
     }
121 121
 
122
+    /**
123
+     * @param boolean|string $url
124
+     */
122 125
     public static function printPaymentUrl($url)
123 126
     {
124 127
         if ($url) {
Please login to merge, or discard this patch.
app/Vendor/PagSeguro/source/examples/createPaymentRequestLightbox.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@
 block discarded – undo
121 121
         }
122 122
     }
123 123
 
124
+    /**
125
+     * @param boolean|string $code
126
+     */
124 127
     public static function printPaymentUrl($code)
125 128
     {
126 129
         if ($code) {
Please login to merge, or discard this patch.
app/Vendor/PagSeguro/source/examples/notificationListener.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@  discard block
 block discarded – undo
61 61
 
62 62
     }
63 63
 
64
+    /**
65
+     * @param string $notificationCode
66
+     */
64 67
     private static function transactionNotification($notificationCode)
65 68
     {
66 69
 
@@ -74,6 +77,9 @@  discard block
 block discarded – undo
74 77
         }
75 78
     }
76 79
 
80
+    /**
81
+     * @param string $notificationCode
82
+     */
77 83
     private static function authorizationNotification($notificationCode)
78 84
     {
79 85
 
Please login to merge, or discard this patch.
app/Vendor/PagSeguro/source/examples/searchTransactionsByDateInterval.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -64,6 +64,10 @@
 block discarded – undo
64 64
 
65 65
     }
66 66
 
67
+    /**
68
+     * @param string $initialDate
69
+     * @param string $finalDate
70
+     */
67 71
     public static function printResult(PagSeguroTransactionSearchResult $result, $initialDate, $finalDate)
68 72
     {
69 73
         $finalDate = $finalDate ? $finalDate : 'now';
Please login to merge, or discard this patch.
source/PagSeguroLibrary/domain/PagSeguroDirectPaymentRequest.class.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -258,6 +258,10 @@  discard block
 block discarded – undo
258 258
      * Sets the sender hash
259 259
      * @param string $receiverHash
260 260
      */
261
+
262
+    /**
263
+     * @param string $senderHash
264
+     */
261 265
     public function setSenderHash($senderHash)
262 266
     {
263 267
         $this->senderHash = $senderHash;
@@ -463,6 +467,10 @@  discard block
 block discarded – undo
463 467
      * Sets the reference of this payment request
464 468
      * @param reference
465 469
      */
470
+
471
+    /**
472
+     * @param string $reference
473
+     */
466 474
     public function setReference($reference)
467 475
     {
468 476
         $this->reference = $reference;
@@ -689,6 +697,10 @@  discard block
 block discarded – undo
689 697
      * Sets the info for credit card for this payment request
690 698
      * @param array|object $params...
691 699
      */
700
+
701
+    /**
702
+     * @param PagSeguroCreditCardCheckout $params
703
+     */
692 704
     public function setCreditCard($params = null) 
693 705
     {
694 706
 
Please login to merge, or discard this patch.
PagSeguro/source/PagSeguroLibrary/domain/PagSeguroMetaDataItem.class.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -47,6 +47,11 @@
 block discarded – undo
47 47
      */
48 48
     private $group;
49 49
 
50
+    /**
51
+     * @param PagSeguroMetaDataItem $key
52
+     * @param PagSeguroMetaDataItem $value
53
+     * @param PagSeguroMetaDataItem $group
54
+     */
50 55
     public function __construct($key = null, $value = null, $group = null)
51 56
     {
52 57
 
Please login to merge, or discard this patch.
source/PagSeguroLibrary/domain/PagSeguroNotificationType.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
 
36 36
     private $value;
37 37
 
38
+    /**
39
+     * @param string $value
40
+     */
38 41
     public function __construct($value = null)
39 42
     {
40 43
         if ($value) {
Please login to merge, or discard this patch.