Skip to content

Commit

Permalink
Add @annotation to the Annotations to prevent an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbarratt committed Sep 30, 2017
1 parent e462bd1 commit 105a244
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Annotation/RequestGroups.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

use Symfony\Component\Serializer\Annotation\Groups;

/**
* Annotation class for @ResponseGroups().
*
* @Annotation
* @Target({"METHOD"})
*/
class RequestGroups extends Groups
{

Expand Down
6 changes: 6 additions & 0 deletions src/Annotation/ResponseGroups.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

use Symfony\Component\Serializer\Annotation\Groups;

/**
* Annotation class for @ResponseGroups().
*
* @Annotation
* @Target({"METHOD"})
*/
class ResponseGroups extends Groups
{

Expand Down

0 comments on commit 105a244

Please sign in to comment.