Completed
Push — 1.11.x ( 7ffd51...902ebd )
by José
50:21 queued 21:28
created
main/inc/lib/agenda.lib.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -677,7 +677,7 @@
 block discarded – undo
677 677
      * @param bool $updateContent
678 678
      * @param int $authorId
679 679
      *
680
-     * @return bool
680
+     * @return null|boolean
681 681
      */
682 682
     public function editEvent(
683 683
         $id,
Please login to merge, or discard this patch.
main/inc/lib/template.lib.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -346,6 +346,7 @@  discard block
 block discarded – undo
346 346
     /**
347 347
      * Sets the footer visibility
348 348
      * @param bool true if we show the footer
349
+     * @param boolean $status
349 350
      */
350 351
     public function set_footer($status)
351 352
     {
@@ -386,6 +387,7 @@  discard block
 block discarded – undo
386 387
     /**
387 388
      * Sets the header visibility
388 389
      * @param bool true if we show the header
390
+     * @param boolean $status
389 391
      */
390 392
     public function set_header($status)
391 393
     {
@@ -1268,7 +1270,7 @@  discard block
 block discarded – undo
1268 1270
     }
1269 1271
 
1270 1272
     /**
1271
-     * @param bool|true $setLoginForm
1273
+     * @param boolean $setLoginForm
1272 1274
      */
1273 1275
     public function setLoginForm($setLoginForm = true)
1274 1276
     {
Please login to merge, or discard this patch.
main/lp/openoffice_text.class.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Gets html pages and compose them into a learning path
44 44
      * @param	array	The files that will compose the generated learning path. Unused so far.
45
-     * @return	boolean	False if file does not exit. Nothing otherwise.
45
+     * @return	false|null	False if file does not exit. Nothing otherwise.
46 46
      */
47 47
     public function make_lp($files = array())
48 48
     {
@@ -100,6 +100,7 @@  discard block
 block discarded – undo
100 100
      * Manages dir/chapter splitting
101 101
      * @param	string	Chapter header
102 102
      * @param	string	Content
103
+     * @param string $content
103 104
      * @return	void
104 105
      */
105 106
     public function dealPerChapter($header, $content)
@@ -191,6 +192,7 @@  discard block
 block discarded – undo
191 192
      * Manages page splitting
192 193
      * @param	string	Page header
193 194
      * @param	string	Page body
195
+     * @param string $body
194 196
      * @return	void
195 197
      */
196 198
     public function dealPerPage($header, $body)
Please login to merge, or discard this patch.
main/inc/lib/extra_field_value.lib.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * This function is used with $extraField->addElements()
78 78
      * @param array $params array for the insertion into the *_field_values table
79 79
      * @param bool $showQuery
80
-     * @return mixed false on empty params, void otherwise
80
+     * @return false|null false on empty params, void otherwise
81 81
      * @assert (array()) === false
82 82
      */
83 83
     public function saveFieldValues($params, $showQuery = false)
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
      * @param int $item_id Item ID (It could be a session_id, course_id or user_id)
530 530
      * @param int $field_id Field ID (the ID from the *_field table)
531 531
      * @param bool $transform Whether to transform the result to a human readable strings
532
-     * @return mixed A structured array with the field_id and field_value, or false on error
532
+     * @return string A structured array with the field_id and field_value, or false on error
533 533
      * @assert (-1,-1) === false
534 534
      */
535 535
     public function get_values_by_handler_and_field_id($item_id, $field_id, $transform = false)
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/BranchSync.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -715,7 +715,7 @@
 block discarded – undo
715 715
     }
716 716
 
717 717
     /**
718
-     * @return mixed
718
+     * @return null|BranchSync
719 719
      */
720 720
     public function getParent()
721 721
     {
Please login to merge, or discard this patch.
main/inc/lib/userportal.lib.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -769,8 +769,8 @@  discard block
 block discarded – undo
769 769
 
770 770
     /**
771 771
      * @todo use the template system
772
-     * @param $title
773
-     * @param $content
772
+     * @param string|null $title
773
+     * @param string $content
774 774
      * @param string $id
775 775
      * @param array $params
776 776
      * @param string $idAccordion
@@ -1739,8 +1739,8 @@  discard block
 block discarded – undo
1739 1739
 
1740 1740
     /**
1741 1741
      * Return HTML code for personal user course category
1742
-     * @param $id
1743
-     * @param $title
1742
+     * @param integer $id
1743
+     * @param string $title
1744 1744
      * @return string
1745 1745
      */
1746 1746
     private static function getHtmlForUserCategory($id, $title)
@@ -1761,7 +1761,7 @@  discard block
 block discarded – undo
1761 1761
     /**
1762 1762
      * return HTML code for course display in session view
1763 1763
      * @param array $courseInfo
1764
-     * @param $userCategoryId
1764
+     * @param integer $userCategoryId
1765 1765
      * @param bool $displayButton
1766 1766
      * @param $loadDirs
1767 1767
      * @return string
Please login to merge, or discard this patch.
src/Chamilo/ThemeBundle/Model/MessageModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      *
49 49
      * @param UserInterface $from
50 50
      * @param string        $subject
51
-     * @param null          $sentAt
51
+     * @param \DateTime          $sentAt
52 52
      * @param UserInterface $to
53 53
      */
54 54
     function __construct(UserInterface $from = null, $subject = '', $sentAt = null, UserInterface $to = null)
Please login to merge, or discard this patch.
src/Chamilo/ThemeBundle/Theme/ThemeManager.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -52,6 +52,10 @@
 block discarded – undo
52 52
 
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $id
57
+     * @param string $src
58
+     */
55 59
     public function registerStyle($id, $src, $deps = array())
56 60
     {
57 61
         if (!isset($this->stylesheets[$id])) {
Please login to merge, or discard this patch.
main/exercise/TestCategory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Save TestCategory in the database if name doesn't exists
54 54
      * @param int $courseId
55
-     * @return bool
55
+     * @return false|string
56 56
      */
57 57
     public function save($courseId = 0)
58 58
     {
Please login to merge, or discard this patch.