Completed
Push — 1.10.x ( 986d2b...f19030 )
by Angel Fernando Quiroz
69:29 queued 19:50
created
plugin/buycourses/src/buy_course_plugin.class.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      *
35
-     * @return StaticPlugin
35
+     * @return BuyCoursesPlugin
36 36
      */
37 37
     static function create()
38 38
     {
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     /**
200 200
      * Save a transfer account information
201 201
      * @param array $params The transfer account
202
-     * @return int Rows affected. Otherwise return false
202
+     * @return false|string Rows affected. Otherwise return false
203 203
      */
204 204
     public function saveTransferAccount($params)
205 205
     {
@@ -609,7 +609,7 @@  discard block
 block discarded – undo
609 609
     /**
610 610
      * Get session info
611 611
      * @param array $sessionId The session ID
612
-     * @return array
612
+     * @return Chamilo\CoreBundle\Entity\Session
613 613
      */
614 614
     public function getSessionInfo($sessionId)
615 615
     {
@@ -702,7 +702,7 @@  discard block
 block discarded – undo
702 702
      * Register a sale
703 703
      * @param int $itemId The product ID
704 704
      * @param int $paymentType The payment type
705
-     * @return boolean
705
+     * @return false|string
706 706
      */
707 707
     public function registerSale($itemId, $paymentType)
708 708
     {
@@ -884,7 +884,7 @@  discard block
 block discarded – undo
884 884
 
885 885
     /**
886 886
      * Get payment types
887
-     * @return array
887
+     * @return string[]
888 888
      */
889 889
     public function getPaymentTypes()
890 890
     {
@@ -922,7 +922,7 @@  discard block
 block discarded – undo
922 922
 
923 923
     /**
924 924
      * Get the statuses for sales
925
-     * @return array
925
+     * @return string[]
926 926
      */
927 927
     public function getSaleStatuses()
928 928
     {
@@ -935,7 +935,7 @@  discard block
 block discarded – undo
935 935
     
936 936
     /**
937 937
      * Get the statuses for Payouts
938
-     * @return array
938
+     * @return string[]
939 939
      */
940 940
     public function getPayoutStatuses()
941 941
     {
@@ -948,7 +948,7 @@  discard block
 block discarded – undo
948 948
 
949 949
     /**
950 950
      * Get the list of product types
951
-     * @return array
951
+     * @return string[]
952 952
      */
953 953
     public function getProductTypes()
954 954
     {
@@ -1329,7 +1329,7 @@  discard block
 block discarded – undo
1329 1329
     /**
1330 1330
      * Register a item
1331 1331
      * @param array $itemData The item data
1332
-     * @return int The item ID. Otherwise return false
1332
+     * @return false|string The item ID. Otherwise return false
1333 1333
      */
1334 1334
     public function registerItem(array $itemData)
1335 1335
     {
@@ -1487,7 +1487,7 @@  discard block
 block discarded – undo
1487 1487
     /**
1488 1488
      * Verify if the beneficiary have a paypal account
1489 1489
      * @param int $userId
1490
-     * @return true if the user have a paypal account, false if not
1490
+     * @return boolean if the user have a paypal account, false if not
1491 1491
      */
1492 1492
     public function verifyPaypalAccountByBeneficiary($userId)
1493 1493
     {
Please login to merge, or discard this patch.
plugin/buycourses/src/paypalfunctions.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -324,6 +324,8 @@
 block discarded – undo
324 324
  * @nvpStr is nvp string.
325 325
  * returns an associtive array containing the response from the server.
326 326
  *
327
+ * @param string $methodName
328
+ * @param string $nvpStr
327 329
  */
328 330
 function hash_call($methodName, $nvpStr)
329 331
 {
Please login to merge, or discard this patch.
plugin/clockworksms/lib/clockworksms_plugin.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     /**
15 15
      * create (a singleton function that ensures ClockworksmsPlugin instance is
16 16
      * created only once. If it is already created, it returns the instance)
17
-     * @return  object  ClockworksmsPlugin instance
17
+     * @return  ClockworksmsPlugin  ClockworksmsPlugin instance
18 18
      */
19 19
     public static function create()
20 20
     {
Please login to merge, or discard this patch.
plugin/clockworksms/vendor/clockworksms_api.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -471,6 +471,8 @@  discard block
 block discarded – undo
471 471
   *
472 472
   * @param   string   method Clockwork method to call (sms/credit)
473 473
   * @param   string   data   Content of HTTP POST
474
+  * @param string $method
475
+  * @param string $data
474 476
   *
475 477
   * @return  string          Response from Clockwork
476 478
   * @author  Martin Steel
@@ -505,6 +507,7 @@  discard block
 block discarded – undo
505 507
   *
506 508
   * @param   string url      URL to send to
507 509
   * @param   string data     Data to POST
510
+  * @param string $url
508 511
   * @return  string          Response returned by server
509 512
   * @author  Martin Steel
510 513
   */
@@ -631,7 +634,7 @@  discard block
 block discarded – undo
631 634
    * Check if a number is a valid MSISDN
632 635
    *
633 636
    * @param string $val Value to check
634
-   * @return bool True if valid MSISDN
637
+   * @return integer True if valid MSISDN
635 638
    * @author James Inman
636 639
    * @since 1.3.0
637 640
    * @todo Take an optional country code and check that the number starts with it
Please login to merge, or discard this patch.
plugin/courselegal/CourseLegalPlugin.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * @param int $courseId
63 63
      * @param int $sessionId
64 64
      *
65
-     * @return array
65
+     * @return string
66 66
      */
67 67
     public function getUserAcceptedLegal($userId, $courseId, $sessionId)
68 68
     {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     * @param int $courseCode
113 113
     * @param int $sessionId
114 114
     * @param boolean $sendEmail Optional. Indicate whether the mail must be sent. Default is true
115
-    * @return mixed
115
+    * @return false|string
116 116
     */
117 117
     public function saveUserLegal($userId, $courseCode, $sessionId, $sendEmail = true)
118 118
     {
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      * @param int $courseId
219 219
      * @param int $sessionId
220 220
      *
221
-     * @return bool
221
+     * @return boolean|null
222 222
      */
223 223
     public function saveUserMailLegal($link, $userId, $courseId, $sessionId)
224 224
     {
Please login to merge, or discard this patch.
plugin/kannelsms/lib/kannelsms_plugin.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     /**
15 15
      * create (a singleton function that ensures KannelsmsPlugin instance is
16 16
      * created only once. If it is already created, it returns the instance)
17
-     * @return  object  KannelsmsPlugin instance
17
+     * @return  KannelsmsPlugin  KannelsmsPlugin instance
18 18
      */
19 19
     public static function create()
20 20
     {
Please login to merge, or discard this patch.
plugin/kannelsms/vendor/kannelsms_api.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,6 +138,7 @@  discard block
 block discarded – undo
138 138
   *
139 139
   * @param   string  key         Your Kannel API Key
140 140
   * @param   array   options     Optional parameters for sending SMS
141
+  * @param string $key
141 142
   * @author  Martin Steel
142 143
   */
143 144
   public function __construct($key, array $options = array()) {
@@ -471,6 +472,8 @@  discard block
 block discarded – undo
471 472
   *
472 473
   * @param   string   method Kannel method to call (sms/credit)
473 474
   * @param   string   data   Content of HTTP POST
475
+  * @param string $method
476
+  * @param string $data
474 477
   *
475 478
   * @return  string          Response from Kannel
476 479
   * @author  Martin Steel
@@ -505,6 +508,7 @@  discard block
 block discarded – undo
505 508
   *
506 509
   * @param   string url      URL to send to
507 510
   * @param   string data     Data to POST
511
+  * @param string $url
508 512
   * @return  string          Response returned by server
509 513
   * @author  Martin Steel
510 514
   */
@@ -631,7 +635,7 @@  discard block
 block discarded – undo
631 635
    * Check if a number is a valid MSISDN
632 636
    *
633 637
    * @param string $val Value to check
634
-   * @return bool True if valid MSISDN
638
+   * @return integer True if valid MSISDN
635 639
    * @author James Inman
636 640
    * @since 1.3.0
637 641
    * @todo Take an optional country code and check that the number starts with it
Please login to merge, or discard this patch.
plugin/openmeetings/lib/openmeetings.class.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,8 @@
 block discarded – undo
213 213
     /**
214 214
      * Returns a meeting "join" URL
215 215
      * @param string The name of the meeting (usually the course code)
216
-     * @return mixed The URL to join the meeting, or false on error
216
+     * @param false|string $meetingId
217
+     * @return false|null The URL to join the meeting, or false on error
217 218
      * @todo implement moderator pass
218 219
      * @assert ('') === false
219 220
      * @assert ('abcdefghijklmnopqrstuvwxyzabcdefghijklmno') === false
Please login to merge, or discard this patch.
plugin/openmeetings/lib/openmeetings_gateway.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -36,6 +36,11 @@
 block discarded – undo
36 36
     private $_pass;
37 37
     private $_url;
38 38
 
39
+    /**
40
+     * @param string $host
41
+     * @param string $user
42
+     * @param string $pass
43
+     */
39 44
     public function __construct($host, $user, $pass)
40 45
     {
41 46
         $this->_user = urlencode($user);
Please login to merge, or discard this patch.