mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-23 23:25:00 +00:00
Apply rector rules: add annotation for doctrine mapping
This commit is contained in:
@@ -13,7 +13,6 @@ namespace Chill\DocStoreBundle\Entity;
|
||||
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
|
||||
#[ORM\Entity]
|
||||
#[ORM\Table('chill_doc.document_category')]
|
||||
class DocumentCategory
|
||||
@@ -33,16 +32,12 @@ class DocumentCategory
|
||||
*/
|
||||
public function __construct(
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @var string The id of the bundle that has create the category (i.e. 'person', 'activity', ....)
|
||||
*/
|
||||
#[ORM\Id]
|
||||
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::STRING, name: 'bundle_id')]
|
||||
private $bundleId,
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @var int The id which is unique inside the bundle
|
||||
*/
|
||||
#[ORM\Id]
|
||||
|
Reference in New Issue
Block a user