Completed
Push — master ( 6257ee...7420f9 )
by José
82:44 queued 52:54
created
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/CoreBundle/Framework/PageController.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,6 +284,8 @@  discard block
 block discarded – undo
284 284
      * @param string Longer content to show (usually a <ul> list)
285 285
      * @param string ID to be added to the HTML attributes for the block
286 286
      * @param array Array of attributes to add to the HTML block
287
+     * @param null|string $title
288
+     * @param string $id
287 289
      * @return string HTML <div> block
288 290
      * @todo use the menu builder
289 291
      */
@@ -895,6 +897,10 @@  discard block
 block discarded – undo
895 897
 
896 898
     }
897 899
 
900
+    /**
901
+     * @param string $filter
902
+     * @param integer $page
903
+     */
898 904
     function returnSpecialCourses($user_id, $filter, $page)
899 905
     {
900 906
         if (empty($user_id)) {
@@ -993,6 +999,10 @@  discard block
 block discarded – undo
993 999
         return $html;
994 1000
     }
995 1001
 
1002
+    /**
1003
+     * @param string $filter
1004
+     * @param integer $page
1005
+     */
996 1006
     public function returnSessionsCategories($user_id, $filter, $page)
997 1007
     {
998 1008
         if (empty($user_id)) {
@@ -1414,7 +1424,7 @@  discard block
 block discarded – undo
1414 1424
      * Shows a welcome message when the user doesn't have any content in
1415 1425
      * the course list
1416 1426
      * @param object A Template object used to declare variables usable in the given template
1417
-     * @return void
1427
+     * @return false|null
1418 1428
      */
1419 1429
     public function return_welcome_to_course_block($tpl)
1420 1430
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Menu/SimpleMenuBuilder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     }
209 209
 
210 210
     /**
211
-     * @return mixed
211
+     * @return string
212 212
      */
213 213
     public function getLabel()
214 214
     {
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
     }
217 217
 
218 218
     /**
219
-     * @return mixed
219
+     * @return string
220 220
      */
221 221
     public function getRoute()
222 222
     {
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     }
225 225
 
226 226
     /**
227
-     * @return mixed
227
+     * @return boolean
228 228
      */
229 229
     public function isActive()
230 230
     {
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.
src/Chamilo/ThemeBundle/EventListener/SidebarSetupMenuDemoListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
 
44 44
     }
45 45
 
46
+    /**
47
+     * @param MenuItemModel[] $items
48
+     */
46 49
     protected function activateByRoute($route, $items) {
47 50
 
48 51
         foreach($items as $item) { /** @var $item MenuItemModel */
Please login to merge, or discard this patch.
src/Chamilo/ThemeBundle/Model/MenuItemModel.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -60,6 +60,11 @@
 block discarded – undo
60 60
      */
61 61
     protected $parent = null;
62 62
 
63
+    /**
64
+     * @param string $id
65
+     * @param string $label
66
+     * @param string $route
67
+     */
63 68
     function __construct(
64 69
         $id,
65 70
         $label,
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/Model/NotificationModel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 
19 19
     protected $icon;
20 20
 
21
+    /**
22
+     * @param string $message
23
+     */
21 24
     function __construct($message = null, $type = 'info', $icon = 'fa fa-warning')
22 25
     {
23 26
         $this->message = $message;
Please login to merge, or discard this patch.
src/Chamilo/ThemeBundle/Model/TaskModel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     protected $title;
51 51
 
52 52
     /**
53
-     * @param null   $title
53
+     * @param string   $title
54 54
      * @param int    $progress
55 55
      * @param string $color
56 56
      */
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-     * @return mixed
96
+     * @return integer
97 97
      */
98 98
     public function getProgress()
99 99
     {
Please login to merge, or discard this patch.