Completed
Push — 1.11.x ( 683301...61da54 )
by José
78:34 queued 46:29
created
plugin/pens/lib/pens/pens_server.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -236,6 +236,7 @@  discard block
 block discarded – undo
236 236
 	 * @param PENSRequest Original collect request
237 237
 	 * @param PENSResponse Reponse to send in the receipt or the alert
238 238
 	 * @param string Mode (alert | receipt)
239
+	 * @param string $mode
239 240
 	 * @return PENSResponse Response
240 241
 	 */
241 242
 	protected function sendAlertOrReceipt($request, $response, $mode) {
@@ -283,6 +284,7 @@  discard block
 block discarded – undo
283 284
 	 * 
284 285
 	 * @param PENSRequest Original collect request
285 286
 	 * @param PENSResponse Response to send in the receipt
287
+	 * @param PENSResponse $receipt
286 288
 	 * @return PENSResponse Response
287 289
 	 */
288 290
 	protected function sendReceipt($request, $receipt) {
@@ -294,6 +296,7 @@  discard block
 block discarded – undo
294 296
 	 * 
295 297
 	 * @param PENSRequest Original collect request
296 298
 	 * @param string Path to the package on the hard drive
299
+	 * @param string $path_to_package
297 300
 	 */
298 301
 	protected function processPackage($request, $path_to_package) {
299 302
 		return $this->_package_handler->processPackage($request, $path_to_package);
Please login to merge, or discard this patch.
plugin/pens/lib/tests/test_pens_request.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -76,6 +76,11 @@
 block discarded – undo
76 76
 		return PENSRequestFactory::createPENSRequest($myargs);
77 77
 	}
78 78
 	
79
+	/**
80
+	 * @param string $key
81
+	 * @param string|null $value
82
+	 * @param integer $code
83
+	 */
79 84
 	public function exceptionTestForValue($key, $value, $code) {
80 85
 		try {
81 86
 			$myargs = $this->args;
Please login to merge, or discard this patch.
plugin/search_course/lib/register_course_widget.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Handle the subscribe action.
59 59
      *
60
-     * @return bool
60
+     * @return null|boolean
61 61
      */
62 62
     function action_subscribe_user()
63 63
     {
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
     /**
153 153
      *
154
-     * @param type $course_code
154
+     * @param string $course_code
155 155
      * @return type
156 156
      */
157 157
     function retrieve_course($course_code)
Please login to merge, or discard this patch.
plugin/search_course/lib/search_course_widget.class.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -40,11 +40,19 @@
 block discarded – undo
40 40
         return isset($_GET[$key]) ? $_GET[$key] : $default;
41 41
     }
42 42
 
43
+    /**
44
+     * @param string $key
45
+     *
46
+     * @return string
47
+     */
43 48
     public static function server($key, $default = '')
44 49
     {
45 50
         return isset($_SERVER[$key]) ? $_SERVER[$key] : $default;
46 51
     }
47 52
 
53
+    /**
54
+     * @param string $name
55
+     */
48 56
     public static function get_lang($name)
49 57
     {
50 58
         return SearchCoursePlugin::create()->get_lang($name);
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     /**
95 95
      * @param array $templates
96 96
      *
97
-     * @return null
97
+     * @return null|string
98 98
      */
99 99
     public function formatTemplates($templates)
100 100
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/Connector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * Available driver list.
87
-     * @return array
87
+     * @return string[]
88 88
      */
89 89
     private function getDefaultDriverList()
90 90
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/Driver/DropBoxDriver.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     /**
134 134
      * Close connection
135 135
      *
136
-     * @return void
136
+     * @return boolean
137 137
      * @author Dmitry (dio) Levashov
138 138
      **/
139 139
     public function umount() {
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
      * Close opened file
489 489
      *
490 490
      * @param  resource  $fp  file pointer
491
-     * @return bool
491
+     * @return boolean|null
492 492
      * @author Dmitry (dio) Levashov
493 493
      **/
494 494
     protected function _fclose($fp, $path='') {
@@ -505,7 +505,7 @@  discard block
 block discarded – undo
505 505
      *
506 506
      * @param  string  $path  parent dir path
507 507
      * @param string  $name  new directory name
508
-     * @return string|bool
508
+     * @return string|false
509 509
      * @author Dmitry (dio) Levashov
510 510
      **/
511 511
     protected function _mkdir($path, $name) {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/BranchSync.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -532,7 +532,6 @@  discard block
 block discarded – undo
532 532
      /**
533 533
      * Set sslPubKey
534 534
      *
535
-     * @param string $sslPubKey
536 535
      * @return BranchSync
537 536
      */
538 537
     public function setBranchType($branchType)
@@ -714,7 +713,7 @@  discard block
 block discarded – undo
714 713
     }
715 714
 
716 715
     /**
717
-     * @return mixed
716
+     * @return null|BranchSync
718 717
      */
719 718
     public function getParent()
720 719
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/CourseRelUser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
     }
140 140
 
141 141
     /**
142
-     * @param $user
142
+     * @param User $user
143 143
      * @return $this
144 144
      */
145 145
     public function setUser($user)
Please login to merge, or discard this patch.