Skip to content

Commit

Permalink
fix: add delete statement to delete method
Browse files Browse the repository at this point in the history
  • Loading branch information
esbenp committed Dec 24, 2015
1 parent 1c56641 commit fa869cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public function delete($id)
$query = $this->createQueryBuilder();

$query->where($this->getPrimaryKey($query), $id);
$query->delete();
}

/**
Expand Down

0 comments on commit fa869cc

Please sign in to comment.