Skip to content
Permalink
Browse files

Merge pull request #51 from ergebnis/fix/order

Fix: Keep constructor parameters, fields, and assignments in order
  • Loading branch information
localheinz committed Mar 15, 2020
2 parents fe49e8f + a25c6e7 commit 9df002f234b28269395c70fb8dc06cbe598e5939
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/EntityDef.php
@@ -20,24 +20,24 @@
*/
final class EntityDef
{
private $name;

private $entityType;

/**
* @var ORM\Mapping\ClassMetadata
*/
private $metadata;

private $name;

private $entityType;

private $fieldDefs;

private $config;

public function __construct(ORM\Mapping\ClassMetadata $metadata, $name, $type, array $fieldDefs, array $config)
{
$this->metadata = $metadata;
$this->name = $name;
$this->entityType = $type;
$this->metadata = $metadata;
$this->fieldDefs = [];
$this->config = $config;

0 comments on commit 9df002f

Please sign in to comment.
You can’t perform that action at this time.