Completed
Push — master ( bbad3a...396f7e )
by Angel Fernando Quiroz
57:29 queued 24:33
created
main/inc/lib/usergroup.lib.php 1 patch
Doc Comments   +12 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1013,7 +1013,7 @@  discard block
 block discarded – undo
1013 1013
      * @param int    $groupId
1014 1014
      * @param string $picture
1015 1015
      *
1016
-     * @return bool|string
1016
+     * @return false|string
1017 1017
      */
1018 1018
     public function manageFileUpload($groupId, $picture)
1019 1019
     {
@@ -1155,7 +1155,7 @@  discard block
 block discarded – undo
1155 1155
     }
1156 1156
 
1157 1157
     /**
1158
-     * @return mixed
1158
+     * @return integer
1159 1159
      */
1160 1160
     public function getGroupType()
1161 1161
     {
@@ -1359,6 +1359,8 @@  discard block
 block discarded – undo
1359 1359
      * @param string height
1360 1360
      * @param string picture size it can be small_,  medium_  or  big_
1361 1361
      * @param string style css
1362
+     * @param integer $height
1363
+     * @param integer $size_picture
1362 1364
      * @return array with the file and the style of an image i.e $array['file'] $array['style']
1363 1365
      */
1364 1366
     public function get_picture_group($id, $picture_file, $height, $size_picture = GROUP_IMAGE_SIZE_MEDIUM , $style = '')
@@ -1420,7 +1422,7 @@  discard block
 block discarded – undo
1420 1422
      * @param	string	Type of path to return (can be 'none', 'system', 'rel', 'web')
1421 1423
      * @param	bool	Whether we want to have the directory name returned 'as if' there was a file or not (in the case we want to know which directory to create - otherwise no file means no split subdir)
1422 1424
      * @param	bool	If we want that the function returns the /main/img/unknown.jpg image set it at true
1423
-     * @return	array 	Array of 2 elements: 'dir' and 'file' which contain the dir and file as the name implies if image does not exist it will return the unknow image if anonymous parameter is true if not it returns an empty er's
1425
+     * @return	integer 	Array of 2 elements: 'dir' and 'file' which contain the dir and file as the name implies if image does not exist it will return the unknow image if anonymous parameter is true if not it returns an empty er's
1424 1426
      */
1425 1427
     public function get_group_picture_path_by_id($id, $type = 'none', $preview = false, $anonymous = false)
1426 1428
     {
@@ -1473,7 +1475,7 @@  discard block
 block discarded – undo
1473 1475
     }
1474 1476
 
1475 1477
     /**
1476
-     * @return array
1478
+     * @return string[]
1477 1479
      */
1478 1480
     public function getAllowedPictureExtensions()
1479 1481
     {
@@ -1663,7 +1665,7 @@  discard block
 block discarded – undo
1663 1665
      * @author Julio Montoya
1664 1666
      * @param  int  $user_id
1665 1667
      * @param  int $group_id
1666
-     * @return boolean true if success
1668
+     * @return Statement|null true if success
1667 1669
      * */
1668 1670
     public function delete_user_rel_group($user_id, $group_id)
1669 1671
     {
@@ -1875,6 +1877,8 @@  discard block
 block discarded – undo
1875 1877
      * @param int from value
1876 1878
      * @param int limit
1877 1879
      * @param array image configuration, i.e array('height'=>'20px', 'size'=> '20px')
1880
+     * @param integer $from
1881
+     * @param integer $limit
1878 1882
      * @return array list of users in a group
1879 1883
      */
1880 1884
     public function get_users_by_group(
@@ -1973,6 +1977,8 @@  discard block
 block discarded – undo
1973 1977
      * Shows the left column of the group page
1974 1978
      * @param int group id
1975 1979
      * @param int user id
1980
+     * @param integer $group_id
1981
+     * @param integer $user_id
1976 1982
      *
1977 1983
      */
1978 1984
     public function show_group_column_information($group_id, $user_id, $show = '')
@@ -2326,7 +2332,7 @@  discard block
 block discarded – undo
2326 2332
      * @param int $group_id
2327 2333
      * @param int $parent_group_id if 0, we delete the parent_group association
2328 2334
      * @param int $relation_type
2329
-     * @return resource
2335
+     * @return Statement|null
2330 2336
      **/
2331 2337
     public static function set_parent_group($group_id, $parent_group_id, $relation_type = 1)
2332 2338
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/Connector.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,6 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * Available driver list.
81 81
      * @param array
82
+     * @param string[] $list
82 83
      */
83 84
     public function setDriverList($list)
84 85
     {
@@ -87,7 +88,7 @@  discard block
 block discarded – undo
87 88
 
88 89
     /**
89 90
      * Available driver list.
90
-     * @return array
91
+     * @return string[]
91 92
      */
92 93
     private function getDefaultDriverList()
93 94
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/Driver/DropBoxDriver.php 1 patch
Doc Comments   +2 added lines, -2 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='') {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Controller/BaseController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-     * @param $action
152
+     * @param string $action
153 153
      * @param MenuItemInterface $menu
154 154
      * @return MenuItemInterface
155 155
      */
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Controller/IndexController.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,9 +38,6 @@  discard block
 block discarded – undo
38 38
      * @Route("/", name="home")
39 39
      * @Method({"GET"})
40 40
      *
41
-     * @param string $type courses|sessions|mycoursecategories
42
-     * @param string $filter for the userportal courses page. Only works when setting 'history'
43
-     * @param int $page
44 41
      *
45 42
      * @return Response
46 43
      */
@@ -137,7 +134,7 @@  discard block
 block discarded – undo
137 134
      * @Method({"GET"})
138 135
      * @param Request $request
139 136
      *
140
-     * @return Response
137
+     * @return string
141 138
      */
142 139
     public function toggleStudentViewAction(Request $request)
143 140
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/Course.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
     }
393 393
 
394 394
     /**
395
-     * @return ArrayCollection
395
+     * @return CTool[]
396 396
      */
397 397
     public function getTools()
398 398
     {
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
     }
428 428
 
429 429
     /**
430
-     * @param $urls
430
+     * @param ArrayCollection $urls
431 431
      */
432 432
     public function setUrls($urls)
433 433
     {
@@ -1244,7 +1244,7 @@  discard block
 block discarded – undo
1244 1244
     }
1245 1245
 
1246 1246
     /**
1247
-     * @return array
1247
+     * @return string[]
1248 1248
      */
1249 1249
     public static function getStatusList()
1250 1250
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/CourseRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
      * Set user
149 149
      *
150 150
      * @param User $user
151
-     * @return UsergroupRelUser
151
+     * @return CourseRequest
152 152
      */
153 153
     public function setUser(User $user)
154 154
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/Resource/ResourceNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
     /**
254 254
      * Returns the parent resource.
255 255
      *
256
-     * @return AbstractResource
256
+     * @return null|ResourceNode
257 257
      */
258 258
     public function getParent()
259 259
     {
Please login to merge, or discard this patch.
src/Chamilo/InstallerBundle/Requirement/SettingsRequirements.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -177,6 +177,9 @@
 block discarded – undo
177 177
             );
178 178
     }
179 179
 
180
+    /**
181
+     * @param string $key
182
+     */
180 183
     private function isOn($key)
181 184
     {
182 185
         $value = ini_get($key);
Please login to merge, or discard this patch.