Completed
Push — 1.10.x ( c135db...ea3352 )
by Julito
26:21
created
src/Chamilo/CoreBundle/Entity/Course.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
     }
319 319
 
320 320
     /**
321
-     * @return ArrayCollection
321
+     * @return CTool[]
322 322
      */
323 323
     public function getTools()
324 324
     {
@@ -1146,7 +1146,7 @@  discard block
 block discarded – undo
1146 1146
     }
1147 1147
 
1148 1148
     /**
1149
-     * @return array
1149
+     * @return string[]
1150 1150
      */
1151 1151
     public static function getStatusList()
1152 1152
     {
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.
src/Chamilo/CoreBundle/Entity/Repository/ItemPropertyRepository.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
      * @param $tool learnpath | document | etc
23 23
      * @param $itemId
24 24
      * @param Course $course
25
-     * @param int $sessionId
26
-     * @param int $groupId
25
+     * @param int $session
26
+     * @param int $group
27 27
      *
28 28
      * @return \Doctrine\ORM\QueryBuilder
29 29
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
                     $users = \GroupManager::getStudentsAndTutors($groupId);
197 197
                     $newUserList = array();
198 198
                     if (!empty($users)) {
199
-                        foreach($users as $user) {
199
+                        foreach ($users as $user) {
200 200
                             $newUserList[] = $user['user_id'];
201 201
                         }
202 202
                         $this->unsubcribeUsersToItem(
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/SequenceResource.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @return string
61
+     * @return integer
62 62
      */
63 63
     public function getType()
64 64
     {
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     }
124 124
 
125 125
     /**
126
-     * @param mixed $sequence
126
+     * @param Sequence $sequence
127 127
      * @return $this
128 128
      */
129 129
     public function setSequence(Sequence $sequence)
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/SessionCategory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      * Set url
67 67
      *
68 68
      * @param $url
69
-     * @return AccessUrlRelCourse
69
+     * @return SessionCategory
70 70
      */
71 71
     public function setUrl($url)
72 72
     {
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Entity/CLpCategory.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,6 @@
 block discarded – undo
96 96
     /**
97 97
      * Set category name
98 98
      *
99
-     * @param string $blogName
100 99
      *
101 100
      * @return CLpCategory
102 101
      */
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
  */
20 20
 class CLpCategory
21 21
 {
22
-  /**
22
+    /**
23 23
      * @var integer
24 24
      *
25 25
      * @ORM\Column(name="iid", type="integer")
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Entity/CToolIntro.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
      * Get id
96 96
      *
97
-     * @return string
97
+     * @return integer
98 98
      */
99 99
     public function getId()
100 100
     {
Please login to merge, or discard this patch.
src/Chamilo/UserBundle/Entity/User.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -928,7 +928,7 @@  discard block
 block discarded – undo
928 928
     /**
929 929
      * Get pictureUri
930 930
      *
931
-     * @return Media
931
+     * @return string
932 932
      */
933 933
     public function getPictureUri()
934 934
     {
@@ -1305,7 +1305,7 @@  discard block
 block discarded – undo
1305 1305
     }
1306 1306
 
1307 1307
     /**
1308
-     * @return Media
1308
+     * @return string
1309 1309
      */
1310 1310
     public function getAvatar()
1311 1311
     {
Please login to merge, or discard this patch.
certificates/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     case 'export':
16 16
         $hideExportLink = api_get_setting('hide_certificate_export_link');
17 17
         $hideExportLinkStudent = api_get_setting('hide_certificate_export_link_students');
18
-        if ($hideExportLink === 'true' || (api_is_student() && $hideExportLinkStudent === 'true') ) {
18
+        if ($hideExportLink === 'true' || (api_is_student() && $hideExportLinkStudent === 'true')) {
19 19
             api_not_allowed(true);
20 20
         }
21 21
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             $pageFormat = $pdfParams['orientation'] == 'landscape' ? 'A4-L' : 'A4';
37 37
 
38 38
             $userInfo = api_get_user_info($certificate->user_id);
39
-            $pdfName = api_replace_dangerous_char(get_lang('Certificate') . ' ' . $userInfo['username']);
39
+            $pdfName = api_replace_dangerous_char(get_lang('Certificate').' '.$userInfo['username']);
40 40
 
41 41
             $pdf = new PDF($pageFormat, $pdfParams['orientation'], $pdfParams);
42 42
             $pdf->html_to_pdf($certificatePathList, $pdfName, null, false, false);
Please login to merge, or discard this patch.