Completed
Push — 1.10.x ( e39098...d9ba33 )
by Julito
34:46
created
src/Chamilo/CoreBundle/Entity/Skill.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
     public function getWebIconPath()
202 202
     {
203 203
         if ($this->getIcon()) {
204
-            return api_get_path(WEB_UPLOAD_PATH) . "badges/{$this->getIcon()}";
204
+            return api_get_path(WEB_UPLOAD_PATH)."badges/{$this->getIcon()}";
205 205
         }
206 206
 
207 207
         return \Display::return_icon('badges-default.png', null, null, ICON_SIZE_HUGE, null, true);
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/ExtraFieldOptions.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -60,11 +60,11 @@
 block discarded – undo
60 60
      */
61 61
     protected $priorityMessage;
62 62
 
63
-     /**
64
-     * @var integer
65
-     *
66
-     * @ORM\Column(name="option_order", type="integer", nullable=true)
67
-     */
63
+        /**
64
+         * @var integer
65
+         *
66
+         * @ORM\Column(name="option_order", type="integer", nullable=true)
67
+         */
68 68
     protected $optionOrder;
69 69
 
70 70
     /**
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/ExtraFieldValues.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -153,13 +153,13 @@
 block discarded – undo
153 153
         return $this;
154 154
     }
155 155
 
156
-     /**
157
-     * Set comment
158
-     *
159
-     * @param string $comment
160
-      *
161
-     * @return ExtraFieldValues
162
-     */
156
+        /**
157
+         * Set comment
158
+         *
159
+         * @param string $comment
160
+         *
161
+         * @return ExtraFieldValues
162
+         */
163 163
     public function setComment($comment)
164 164
     {
165 165
         $this->comment = $comment;
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/Session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -470,7 +470,7 @@
 block discarded – undo
470 470
             Criteria::expr()->eq("user", $user)
471 471
         );
472 472
 
473
-        if (!is_null($status))  {
473
+        if (!is_null($status)) {
474 474
             $criteria->andWhere(
475 475
                 Criteria::expr()->eq("status", $status)
476 476
             );
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/Repository/ItemPropertyRepository.php 1 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/Repository/SkillRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
  *
14 14
  * @author Angel Fernando Quiroz Campos <[email protected]>
15 15
  */
16
-class SkillRepository extends EntityRepository{
16
+class SkillRepository extends EntityRepository {
17 17
 
18 18
     /**
19 19
      * Get the last acquired skill by a user on course and/or session
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/Repository/SequenceRepository.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function findRequirementForResource($resourceId, $type)
27 27
     {
28
-  /*      $criteria = Criteria::create()
28
+    /*      $criteria = Criteria::create()
29 29
             ->where(Criteria::expr()->eq("resourceId", $resourceId))
30 30
             ->andWhere(Criteria::expr()->eq("type", $type));
31 31
 */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             foreach ($from as $subVertex) {
53 53
                 $vertexId = $subVertex->getId();
54 54
                 $sessionInfo = api_get_session_info($vertexId);
55
-                $sessionInfo['admin_link'] = '<a href="' . \SessionManager::getAdminPath($vertexId) . '">' . $sessionInfo['name'] . '</a>';
55
+                $sessionInfo['admin_link'] = '<a href="'.\SessionManager::getAdminPath($vertexId).'">'.$sessionInfo['name'].'</a>';
56 56
                 $result['requirements'][] = $sessionInfo;
57 57
             }
58 58
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             foreach ($to as $subVertex) {
61 61
                 $vertexId = $subVertex->getId();
62 62
                 $sessionInfo = api_get_session_info($vertexId);
63
-                $sessionInfo['admin_link'] = '<a href="' . \SessionManager::getAdminPath($vertexId) . '">' . $sessionInfo['name'] . '</a>';
63
+                $sessionInfo['admin_link'] = '<a href="'.\SessionManager::getAdminPath($vertexId).'">'.$sessionInfo['name'].'</a>';
64 64
                 $result['dependencies'][] = $sessionInfo;
65 65
             }
66 66
         }
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/ExtraFieldOptionRelFieldOption.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected $relatedFieldOptionId;
44 44
 
45
-     /**
46
-     * @var integer
47
-     *
48
-     * @ORM\Column(name="role_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
49
-     */
45
+        /**
46
+         * @var integer
47
+         *
48
+         * @ORM\Column(name="role_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
49
+         */
50 50
     protected $roleId;
51 51
 
52 52
     /**
@@ -128,12 +128,12 @@  discard block
 block discarded – undo
128 128
         return $this->relatedFieldOptionId;
129 129
     }
130 130
 
131
-     /**
132
-     * Set roleId
133
-     *
134
-     * @param integer $roleId
135
-     * @return ExtraFieldOptionRelFieldOption
136
-     */
131
+        /**
132
+         * Set roleId
133
+         *
134
+         * @param integer $roleId
135
+         * @return ExtraFieldOptionRelFieldOption
136
+         */
137 137
     public function setRoleId($roleId)
138 138
     {
139 139
         $this->roleId = $roleId;
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/BranchSync.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -136,11 +136,11 @@  discard block
 block discarded – undo
136 136
      */
137 137
     private $lastSyncType;
138 138
 
139
-     /**
140
-     * @var string
141
-     *
142
-     * @ORM\Column(name="ssl_pub_key", type="string", length=250, nullable=true, unique=false)
143
-     */
139
+        /**
140
+         * @var string
141
+         *
142
+         * @ORM\Column(name="ssl_pub_key", type="string", length=250, nullable=true, unique=false)
143
+         */
144 144
     private $sslPubKey;
145 145
 
146 146
     /**
@@ -529,12 +529,12 @@  discard block
 block discarded – undo
529 529
         return $this->sslPubKey;
530 530
     }
531 531
 
532
-     /**
533
-     * Set sslPubKey
534
-     *
535
-     * @param string $sslPubKey
536
-     * @return BranchSync
537
-     */
532
+        /**
533
+         * Set sslPubKey
534
+         *
535
+         * @param string $sslPubKey
536
+         * @return BranchSync
537
+         */
538 538
     public function setBranchType($branchType)
539 539
     {
540 540
         $this->branchType = $branchType;
Please login to merge, or discard this patch.