mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +00:00
fix syntax in Report class
This commit is contained in:
parent
ec70067429
commit
adf1a5eb2c
@ -1,8 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Chill\MainBundle\Entity\User;
|
|
||||||
use Chill\PersonBundle\Entity\Person;
|
|
||||||
use Chill\CustomFieldsBundle\Entity\CustomFieldsGroup;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
@ -27,6 +24,9 @@ namespace Chill\ReportBundle\Entity;
|
|||||||
use Chill\MainBundle\Entity\HasCenterInterface;
|
use Chill\MainBundle\Entity\HasCenterInterface;
|
||||||
use Chill\MainBundle\Entity\HasScopeInterface;
|
use Chill\MainBundle\Entity\HasScopeInterface;
|
||||||
use Chill\MainBundle\Entity\Scope;
|
use Chill\MainBundle\Entity\Scope;
|
||||||
|
use Chill\MainBundle\Entity\User;
|
||||||
|
use Chill\PersonBundle\Entity\Person;
|
||||||
|
use Chill\CustomFieldsBundle\Entity\CustomFieldsGroup;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Report
|
* Report
|
||||||
@ -39,12 +39,12 @@ class Report implements HasCenterInterface, HasScopeInterface
|
|||||||
private $id;
|
private $id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \User
|
* @var User
|
||||||
*/
|
*/
|
||||||
private $user;
|
private $user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Person
|
* @var Person
|
||||||
*/
|
*/
|
||||||
private $person;
|
private $person;
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ class Report implements HasCenterInterface, HasScopeInterface
|
|||||||
private $cFData;
|
private $cFData;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \CustomFieldsGroup
|
* @var CustomFieldsGroup
|
||||||
*/
|
*/
|
||||||
private $cFGroup;
|
private $cFGroup;
|
||||||
|
|
||||||
@ -80,13 +80,13 @@ class Report implements HasCenterInterface, HasScopeInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set userr
|
* Set user
|
||||||
*
|
*
|
||||||
* @param \User $user
|
* @param \User $user
|
||||||
*
|
*
|
||||||
* @return Report
|
* @return Report
|
||||||
*/
|
*/
|
||||||
public function setUser($user)
|
public function setUser(User $user)
|
||||||
{
|
{
|
||||||
$this->user = $user;
|
$this->user = $user;
|
||||||
|
|
||||||
@ -106,11 +106,11 @@ class Report implements HasCenterInterface, HasScopeInterface
|
|||||||
/**
|
/**
|
||||||
* Set person
|
* Set person
|
||||||
*
|
*
|
||||||
* @param \Person $person
|
* @param Person $person
|
||||||
*
|
*
|
||||||
* @return Report
|
* @return Report
|
||||||
*/
|
*/
|
||||||
public function setPerson($person)
|
public function setPerson(Person $person)
|
||||||
{
|
{
|
||||||
$this->person = $person;
|
$this->person = $person;
|
||||||
|
|
||||||
@ -120,7 +120,7 @@ class Report implements HasCenterInterface, HasScopeInterface
|
|||||||
/**
|
/**
|
||||||
* Get person
|
* Get person
|
||||||
*
|
*
|
||||||
* @return \Person
|
* @return Person
|
||||||
*/
|
*/
|
||||||
public function getPerson()
|
public function getPerson()
|
||||||
{
|
{
|
||||||
@ -182,7 +182,7 @@ class Report implements HasCenterInterface, HasScopeInterface
|
|||||||
*
|
*
|
||||||
* @return Report
|
* @return Report
|
||||||
*/
|
*/
|
||||||
public function setCFData($cFData)
|
public function setCFData(array $cFData)
|
||||||
{
|
{
|
||||||
$this->cFData = $cFData;
|
$this->cFData = $cFData;
|
||||||
|
|
||||||
@ -202,11 +202,11 @@ class Report implements HasCenterInterface, HasScopeInterface
|
|||||||
/**
|
/**
|
||||||
* Set cFGroup
|
* Set cFGroup
|
||||||
*
|
*
|
||||||
* @param \CustomFieldsGroup $cFGroup
|
* @param CustomFieldsGroup $cFGroup
|
||||||
*
|
*
|
||||||
* @return Report
|
* @return Report
|
||||||
*/
|
*/
|
||||||
public function setCFGroup($cFGroup)
|
public function setCFGroup(CustomFieldsGroup $cFGroup)
|
||||||
{
|
{
|
||||||
$this->cFGroup = $cFGroup;
|
$this->cFGroup = $cFGroup;
|
||||||
|
|
||||||
@ -216,7 +216,7 @@ class Report implements HasCenterInterface, HasScopeInterface
|
|||||||
/**
|
/**
|
||||||
* Get cFGroup
|
* Get cFGroup
|
||||||
*
|
*
|
||||||
* @return \CustomFieldsGroup
|
* @return CustomFieldsGroup
|
||||||
*/
|
*/
|
||||||
public function getCFGroup()
|
public function getCFGroup()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user