Minor - format code

pull/2487/head
jmontoyaa 10 years ago
parent 97dc7d9b6b
commit 6006cb9a9c
  1. 2
      cli-config.php
  2. 12
      src/Chamilo/SkillBundle/Entity/Level.php
  3. 10
      src/Chamilo/SkillBundle/Entity/Profile.php

@ -31,7 +31,7 @@ $dbParams = array(
'host' => $_configuration['db_host'],
'user' => $_configuration['db_user'],
'password' => $_configuration['db_password'],
'dbname' => $_configuration['main_database'],
'dbname' => $_configuration['main_database']
);
$database->connect($dbParams, realpath(__DIR__).'/', realpath(__DIR__).'/');

@ -1,12 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
/**
* Profile Level
*
* @package chamilo.skill
*/
namespace Chamilo\SkillBundle\Entity;
use Gedmo\Mapping\Annotation as Gedmo;
@ -15,9 +9,7 @@ use Doctrine\ORM\Mapping as ORM;
/**
* Level
*
* @ORM\Table(
* name="skill_level"
* )
* @ORM\Table(name="skill_level")
* @ORM\Entity
*/
class Level
@ -161,6 +153,4 @@ class Level
return $this;
}
}

@ -1,13 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
/**
* Profile Entity
*
* @package chamilo.skill
*/
namespace Chamilo\SkillBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
@ -49,6 +42,9 @@ class Profile
**/
protected $levels;
/**
* @return string
*/
public function __toString()
{
return (string) $this->getName();

Loading…
Cancel
Save