Minor - format code

pull/3844/head
Julio Montoya 4 years ago
parent 10c2aab1be
commit eb81e10ab9
  1. 2
      src/CoreBundle/Entity/AccessUrlRelUserGroup.php
  2. 2
      src/CoreBundle/Entity/Tag.php
  3. 1
      src/CoreBundle/Migrations/Schema/V200/Version20180319145700.php
  4. 1
      src/CourseBundle/Repository/CSurveyRepository.php

@ -60,7 +60,7 @@ class AccessUrlRelUserGroup
return $this->userGroup;
}
public function setUserGroup(Usergroup $userGroup): AccessUrlRelUserGroup
public function setUserGroup(Usergroup $userGroup): self
{
$this->userGroup = $userGroup;

@ -88,7 +88,7 @@ class Tag
return $this->field;
}
public function setField(ExtraField $field): Tag
public function setField(ExtraField $field): self
{
$this->field = $field;

@ -41,7 +41,6 @@ class Version20180319145700 extends AbstractMigrationChamilo
$this->addSql('ALTER TABLE c_survey CHANGE avail_from avail_from DATETIME DEFAULT NULL;');
$this->addSql('ALTER TABLE c_survey CHANGE avail_till avail_till DATETIME DEFAULT NULL;');
$table = $schema->getTable('c_survey_answer');
if ($table->hasIndex('course')) {

@ -31,5 +31,4 @@ final class CSurveyRepository extends ResourceRepository
return $qb;
}
}

Loading…
Cancel
Save