Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dakorpar committed Sep 5, 2019
1 parent a29915c commit b7e2ddc
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions tests/TestEntities/PhpDocPropertyEntity.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
<?php declare(strict_types = 1);
<?php

namespace DodoIt\EntityGenerator\Tests\TestEntities;

use DodoIt\EntityGenerator\Entity\Entity;

/**
* @property int $id
* @property string $title
* @property bool $published
* @property int $published
* @property \DateTimeInterface $created_at
*/
class PhpDocPropertyEntity extends Entity
class PhpDocPropertyEntity extends \DodoIt\EntityGenerator\Entity\Entity
{

public const TABLE_NAME = 'php_doc_properties';

public function getId(): int
Expand All @@ -24,7 +21,6 @@ public function getId(): int
public function setId(int $value): self
{
$this['id'] = $value;

return $this;
}

Expand All @@ -38,7 +34,6 @@ public function getTitle(): ?string
public function setTitle(?string $value): self
{
$this['title'] = $value;

return $this;
}

Expand All @@ -52,7 +47,6 @@ public function getPublished(): bool
public function setPublished(bool $value): self
{
$this['published'] = $value;

return $this;
}

Expand All @@ -66,8 +60,6 @@ public function getCreatedAt(): ?\DateTimeInterface
public function setCreatedAt(?\DateTimeInterface $value): self
{
$this['created_at'] = $value;

return $this;
}

}

0 comments on commit b7e2ddc

Please sign in to comment.