Skip to content

Commit

Permalink
Fixed some PHPDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Sep 4, 2019
1 parent 6e093dd commit ac2f0e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/DoctrineAuditBundle/Controller/AuditController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ public function listAuditsAction(): Response
/**
* @Route("/audit/{entity}/{id}", name="dh_doctrine_audit_show_entity_history", methods={"GET"})
*
* @param Request $request
* @param string $entity
* @param int|string $id
* @param int $page
* @param int $pageSize
*
* @return Response
*/
Expand Down
8 changes: 3 additions & 5 deletions src/DoctrineAuditBundle/Reader/AuditReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ public function getAudits($entity, $id = null, ?int $page = null, ?int $pageSize
*
* @param object|string $entity
* @param int|string $id
* @param null|int $page
* @param null|int $pageSize
* @param int $page
* @param int $pageSize
*
* @return Pagerfanta
*/
Expand All @@ -162,8 +162,6 @@ public function getAuditsPager($entity, $id = null, int $page = 1, int $pageSize
* @param object|string $entity
* @param int|string $id
*
* @throws \Doctrine\ORM\NonUniqueResultException
*
* @return int
*/
public function getAuditsCount($entity, $id = null): int
Expand Down Expand Up @@ -290,7 +288,7 @@ public function getEntityTableName($entity): string
/**
* Returns the audit table name for $entity.
*
* @param $entity
* @param mixed $entity
*
* @return string
*/
Expand Down

0 comments on commit ac2f0e7

Please sign in to comment.