Skip to content

Commit

Permalink
abstract entity id type
Browse files Browse the repository at this point in the history
  • Loading branch information
mvkasatkin committed Oct 9, 2017
1 parent 78c5731 commit f8056c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entity/AbstractEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ class AbstractEntity
protected $id;

/**
* @return int|null
* @return int|string|null
*/
public function getId()
{
return $this->id;
}

/**
* @param int $id
* @param int|string $id
*/
public function setId($id)
{
Expand Down

0 comments on commit f8056c1

Please sign in to comment.