apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -17,7 +17,9 @@ use Doctrine\ORM\Mapping as ORM;
* CustomField.
*
* @ORM\Entity
*
* @ORM\Table(name="customfield")
*
* @ORM\HasLifecycleCallbacks
*/
class CustomField
@@ -39,10 +41,10 @@ class CustomField
private ?\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup $customFieldGroup = null;
/**
* @var int
*
* @ORM\Id
*
* @ORM\Column(name="id", type="integer")
*
* @ORM\GeneratedValue(strategy="AUTO")
*/
private ?int $id = null;
@@ -60,8 +62,6 @@ class CustomField
private array $options = [];
/**
* @var float
*
* @ORM\Column(type="float")
*/
private ?float $ordering = null;
@@ -72,15 +72,11 @@ class CustomField
private false $required = false;
/**
* @var string
*
* @ORM\Column(type="string", length=255)
*/
private ?string $slug = null;
/**
* @var string
*
* @ORM\Column(type="string", length=255)
*/
private ?string $type = null;
@@ -214,11 +210,9 @@ class CustomField
/**
* Set customFieldGroup.
*
* @param CustomFieldsGroup $customFieldGroup
*
* @return CustomField
*/
public function setCustomFieldsGroup(?CustomFieldsGroup $customFieldGroup = null)
public function setCustomFieldsGroup(CustomFieldsGroup $customFieldGroup = null)
{
$this->customFieldGroup = $customFieldGroup;
@@ -273,8 +267,6 @@ class CustomField
}
/**
* @param $slug
*
* @return $this
*/
public function setSlug($slug)