From 22f45586d98fe61b033aded345fa761606e23ed3 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 3 Aug 2018 09:58:57 +0200 Subject: [PATCH] Minor - format code --- main/badge/issued.php | 2 +- main/badge/issued_all.php | 2 +- main/inc/lib/skill.lib.php | 4 ++-- src/Chamilo/CoreBundle/Entity/AccessUrlRelCourse.php | 1 - src/Chamilo/CoreBundle/Entity/Session.php | 1 - src/Chamilo/CoreBundle/Entity/SkillRelUser.php | 1 - 6 files changed, 4 insertions(+), 7 deletions(-) diff --git a/main/badge/issued.php b/main/badge/issued.php index 9dfc8cc470..df9962150e 100644 --- a/main/badge/issued.php +++ b/main/badge/issued.php @@ -3,7 +3,7 @@ use Chamilo\CoreBundle\Entity\SkillRelUser; use Chamilo\CoreBundle\Entity\SkillRelUserComment; -use \SkillRelUser as SkillRelUserManager; +use SkillRelUser as SkillRelUserManager; /** * Show information about the issued badge. diff --git a/main/badge/issued_all.php b/main/badge/issued_all.php index b07344bd19..a1e17f0bde 100644 --- a/main/badge/issued_all.php +++ b/main/badge/issued_all.php @@ -4,7 +4,7 @@ use Chamilo\CoreBundle\Entity\SkillRelUser; use Chamilo\CoreBundle\Entity\SkillRelUserComment; use Chamilo\UserBundle\Entity\User; -use \SkillRelUser as SkillRelUserManager; +use SkillRelUser as SkillRelUserManager; /** * Show information about all issued badges with same skill by user. diff --git a/main/inc/lib/skill.lib.php b/main/inc/lib/skill.lib.php index 5628f64d5e..3d2c59fd34 100755 --- a/main/inc/lib/skill.lib.php +++ b/main/inc/lib/skill.lib.php @@ -12,6 +12,7 @@ use Fhaculty\Graph\Vertex; /** * Class SkillProfile. + * * @todo break the file in different classes * * @package chamilo.library @@ -623,14 +624,12 @@ class SkillRelUser extends Model * @param SkillRelUserEntity $skillIssue * * @return string - * */ public static function getIssueUrl(SkillRelUserEntity $skillIssue) { return api_get_path(WEB_PATH)."badge/{$skillIssue->getId()}"; } - /** * Get the URL for the All issues page. * @@ -645,6 +644,7 @@ class SkillRelUser extends Model /** * Get the URL for the assertion. + * * @param SkillRelUserEntity $skillIssue * * @return string diff --git a/src/Chamilo/CoreBundle/Entity/AccessUrlRelCourse.php b/src/Chamilo/CoreBundle/Entity/AccessUrlRelCourse.php index 38b9f93f28..a3965fb18b 100644 --- a/src/Chamilo/CoreBundle/Entity/AccessUrlRelCourse.php +++ b/src/Chamilo/CoreBundle/Entity/AccessUrlRelCourse.php @@ -22,7 +22,6 @@ class AccessUrlRelCourse */ protected $id; - /** * @ORM\ManyToOne(targetEntity="Course", inversedBy="urls", cascade={"persist"}) * @ORM\JoinColumn(name="c_id", referencedColumnName="id") diff --git a/src/Chamilo/CoreBundle/Entity/Session.php b/src/Chamilo/CoreBundle/Entity/Session.php index 3709c6d625..0d02b02645 100644 --- a/src/Chamilo/CoreBundle/Entity/Session.php +++ b/src/Chamilo/CoreBundle/Entity/Session.php @@ -4,7 +4,6 @@ namespace Chamilo\CoreBundle\Entity; use Chamilo\CourseBundle\Entity\CStudentPublication; -use Chamilo\CoreBundle\Entity\Course; use Chamilo\UserBundle\Entity\User; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Criteria; diff --git a/src/Chamilo/CoreBundle/Entity/SkillRelUser.php b/src/Chamilo/CoreBundle/Entity/SkillRelUser.php index 8c8a2e8dfa..585c758680 100644 --- a/src/Chamilo/CoreBundle/Entity/SkillRelUser.php +++ b/src/Chamilo/CoreBundle/Entity/SkillRelUser.php @@ -38,7 +38,6 @@ class SkillRelUser */ protected $comments; - /** * @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User", inversedBy="achievedSkills", cascade={"persist"}) * @ORM\JoinColumn(name="user_id", referencedColumnName="id", nullable=false)