Minor - format code

pull/2624/head
Julio Montoya 7 years ago
parent 56ae329065
commit 22f45586d9
  1. 2
      main/badge/issued.php
  2. 2
      main/badge/issued_all.php
  3. 4
      main/inc/lib/skill.lib.php
  4. 1
      src/Chamilo/CoreBundle/Entity/AccessUrlRelCourse.php
  5. 1
      src/Chamilo/CoreBundle/Entity/Session.php
  6. 1
      src/Chamilo/CoreBundle/Entity/SkillRelUser.php

@ -3,7 +3,7 @@
use Chamilo\CoreBundle\Entity\SkillRelUser; use Chamilo\CoreBundle\Entity\SkillRelUser;
use Chamilo\CoreBundle\Entity\SkillRelUserComment; use Chamilo\CoreBundle\Entity\SkillRelUserComment;
use \SkillRelUser as SkillRelUserManager; use SkillRelUser as SkillRelUserManager;
/** /**
* Show information about the issued badge. * Show information about the issued badge.

@ -4,7 +4,7 @@
use Chamilo\CoreBundle\Entity\SkillRelUser; use Chamilo\CoreBundle\Entity\SkillRelUser;
use Chamilo\CoreBundle\Entity\SkillRelUserComment; use Chamilo\CoreBundle\Entity\SkillRelUserComment;
use Chamilo\UserBundle\Entity\User; use Chamilo\UserBundle\Entity\User;
use \SkillRelUser as SkillRelUserManager; use SkillRelUser as SkillRelUserManager;
/** /**
* Show information about all issued badges with same skill by user. * Show information about all issued badges with same skill by user.

@ -12,6 +12,7 @@ use Fhaculty\Graph\Vertex;
/** /**
* Class SkillProfile. * Class SkillProfile.
*
* @todo break the file in different classes * @todo break the file in different classes
* *
* @package chamilo.library * @package chamilo.library
@ -623,14 +624,12 @@ class SkillRelUser extends Model
* @param SkillRelUserEntity $skillIssue * @param SkillRelUserEntity $skillIssue
* *
* @return string * @return string
*
*/ */
public static function getIssueUrl(SkillRelUserEntity $skillIssue) public static function getIssueUrl(SkillRelUserEntity $skillIssue)
{ {
return api_get_path(WEB_PATH)."badge/{$skillIssue->getId()}"; return api_get_path(WEB_PATH)."badge/{$skillIssue->getId()}";
} }
/** /**
* Get the URL for the All issues page. * Get the URL for the All issues page.
* *
@ -645,6 +644,7 @@ class SkillRelUser extends Model
/** /**
* Get the URL for the assertion. * Get the URL for the assertion.
*
* @param SkillRelUserEntity $skillIssue * @param SkillRelUserEntity $skillIssue
* *
* @return string * @return string

@ -22,7 +22,6 @@ class AccessUrlRelCourse
*/ */
protected $id; protected $id;
/** /**
* @ORM\ManyToOne(targetEntity="Course", inversedBy="urls", cascade={"persist"}) * @ORM\ManyToOne(targetEntity="Course", inversedBy="urls", cascade={"persist"})
* @ORM\JoinColumn(name="c_id", referencedColumnName="id") * @ORM\JoinColumn(name="c_id", referencedColumnName="id")

@ -4,7 +4,6 @@
namespace Chamilo\CoreBundle\Entity; namespace Chamilo\CoreBundle\Entity;
use Chamilo\CourseBundle\Entity\CStudentPublication; use Chamilo\CourseBundle\Entity\CStudentPublication;
use Chamilo\CoreBundle\Entity\Course;
use Chamilo\UserBundle\Entity\User; use Chamilo\UserBundle\Entity\User;
use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Criteria; use Doctrine\Common\Collections\Criteria;

@ -38,7 +38,6 @@ class SkillRelUser
*/ */
protected $comments; protected $comments;
/** /**
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User", inversedBy="achievedSkills", cascade={"persist"}) * @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User", inversedBy="achievedSkills", cascade={"persist"})
* @ORM\JoinColumn(name="user_id", referencedColumnName="id", nullable=false) * @ORM\JoinColumn(name="user_id", referencedColumnName="id", nullable=false)

Loading…
Cancel
Save