Remove useless var phpdoc attributes

This commit is contained in:
Timothy Warren 2022-02-18 12:03:34 -05:00
parent ea2ec447e6
commit b6b69bd343
6 changed files with 0 additions and 117 deletions

View File

@ -18,15 +18,9 @@ class CameraType implements Stringable
#[ORM\SequenceGenerator(sequenceName: 'camera.camera_type_id_seq', allocationSize: 1, initialValue: 1)]
private int $id;
/**
* @var string
*/
#[ORM\Column(name: 'type', type: 'string', length: 255, nullable: false)]
private string $type;
/**
* @var string
*/
#[ORM\Column(name: 'description', type: 'text', nullable: true)]
private ?string $description = null;

View File

@ -16,81 +16,42 @@ class Film
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private int $id;
/**
* @var string
*/
#[ORM\Column(name: 'brand', type: 'string', nullable: false)]
private string $brand;
/**
* @var string
*/
#[ORM\Column(name: 'product_line', type: 'string', nullable: true)]
private ?string $productLine = null;
/**
* @var string
*/
#[ORM\Column(name: 'film_name', type: 'string', nullable: false)]
private string $filmName;
/**
* @var string
*/
#[ORM\Column(name: 'film_alias', type: 'string', nullable: true)]
private ?string $filmAlias = null;
/**
* @var int
*/
#[ORM\Column(name: 'film_speed_asa', type: 'integer', nullable: false)]
private int $filmSpeedAsa;
/**
* @var int
*/
#[ORM\Column(name: 'film_speed_din', type: 'integer', nullable: false)]
private int $filmSpeedDin;
/**
* @var string
*/
#[ORM\Column(name: 'film_format', type: 'string', nullable: false)]
private string $filmFormat;
/**
* @var string
*/
#[ORM\Column(name: 'film_base', type: 'string', nullable: false, options: ['default' => 'Cellulose Triacetate'])]
private string $filmBase = 'Cellulose Triacetate';
/**
* @var int
*/
#[ORM\Column(name: 'unused_rolls', type: 'integer', nullable: false, options: ['default' => 0])]
private int $unusedRolls = 0;
/**
* @var int
*/
#[ORM\Column(name: 'rolls_in_camera', type: 'integer', nullable: false, options: ['default' => 0])]
private int $rollsInCamera = 0;
/**
* @var int
*/
#[ORM\Column(name: 'developed_rolls', type: 'integer', nullable: false, options: ['default' => 0])]
private int $developedRolls = 0;
/**
* @var string
*/
#[ORM\Column(name: 'chemistry', type: 'string', nullable: false, options: ['default' => 'C-41'])]
private string $chemistry = 'C-41';
/**
* @var string
*/
#[ORM\Column(name: 'notes', type: 'text', nullable: true)]
private ?string $notes = null;

View File

@ -13,15 +13,9 @@ class FilmFormat
#[ORM\Column(type: 'integer')]
private int $id;
/**
* @var int
*/
#[ORM\Column(name: 'number_id', type: 'integer')]
private int $numberId;
/**
* @var string
*/
#[ORM\Column(name: 'name', type: 'string')]
private string $name;

View File

@ -18,15 +18,9 @@ class Flash
#[ORM\SequenceGenerator(sequenceName: 'camera.flash_id_seq', allocationSize: 1, initialValue: 1)]
private int $id;
/**
* @var boolean
*/
#[ORM\Column(name: 'received', type: 'boolean', nullable: false, options: ['default' => false])]
private bool $received = false;
/**
* @var boolean
*/
#[ORM\Column(name: 'formerly_owned', type: 'boolean', nullable: false, options: ['default' => false])]
private bool $formerlyOwned = false;
}

View File

@ -8,111 +8,57 @@ trait LensTrait
{
use PurchasePriceTrait;
/**
* @var string
*/
#[ORM\Column(name: 'brand', type: 'string', length: 64, nullable: true)]
private readonly ?string $brand;
/**
* @var string
*/
#[ORM\Column(name: 'coatings', type: 'string', length: 64, nullable: true)]
private readonly ?string $coatings;
/**
* @var string
*/
#[ORM\Column(name: 'product_line', type: 'string', length: 64, nullable: true)]
private readonly ?string $productLine;
/**
* @var string
*/
#[ORM\Column(name: 'model', type: 'string', length: 64, nullable: true)]
private readonly ?string $model;
/**
* @var string
*/
#[ORM\Column(name: 'min_f_stop', type: 'string', length: 10, nullable: true)]
private readonly ?string $minFStop;
/**
* @var float
*/
#[ORM\Column(name: 'max_f_stop', type: 'float', precision: 10, scale: 0, nullable: true)]
private readonly ?float $maxFStop;
/**
* @var integer
*/
#[ORM\Column(name: 'min_focal_length', type: 'integer', nullable: true)]
private readonly ?int $minFocalLength;
/**
* @var integer
*/
#[ORM\Column(name: 'max_focal_length', type: 'integer', nullable: true)]
private readonly ?int $maxFocalLength;
/**
* @var string
*/
#[ORM\Column(name: 'serial', type: 'string', length: 10, nullable: true)]
private readonly ?string $serial;
/**
* @var string
*/
#[ORM\Column(name: 'notes', type: 'text', nullable: true)]
private readonly ?string $notes;
/**
* @var string
*/
#[ORM\Column(name: 'image_size', type: 'string', nullable: false, options: ['default' => '35mm'])]
private string $imageSize = '35mm';
/**
* @var string
*/
#[ORM\Column(name: 'mount', type: 'string', length: 40, nullable: true)]
private readonly ?string $mount;
/**
* @var string
*/
#[ORM\Column(name: 'front_filter_size', type: 'decimal', precision: 10, scale: 0, nullable: true)]
private readonly ?string $frontFilterSize;
/**
* @var string
*/
#[ORM\Column(name: 'rear_filter_size', type: 'decimal', precision: 10, scale: 0, nullable: true)]
private readonly ? string $rearFilterSize;
/**
* @var boolean
*/
#[ORM\Column(name: 'is_teleconverter', type: 'boolean', nullable: false)]
private bool $isTeleconverter = false;
/**
* @var integer
*/
#[ORM\Column(name: 'design_elements', type: 'smallint', nullable: true)]
private readonly ?int $designElements;
/**
* @var integer
*/
#[ORM\Column(name: 'design_groups', type: 'smallint', nullable: true)]
private readonly ?int $designGroups;
/**
* @var integer
*/
#[ORM\Column(name: 'aperture_blades', type: 'smallint', nullable: true)]
private readonly ?int $apertureBlades;

View File

@ -18,15 +18,9 @@ class PreviouslyOwnedLenses
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
private int $id;
/**
* @var boolean
*/
#[ORM\Column(name: 'received', type: 'boolean', nullable: false)]
private bool $received = true;
/**
* @var boolean
*/
#[ORM\Column(name: 'formerly_owned', type: 'boolean', nullable: false)]
private bool $formerlyOwned = true;
}