Skip to content

Commit

Permalink
fix: unable to generate docs
Browse files Browse the repository at this point in the history
A PHP CS Fixer rule was changing the API Docs documentation in an unexpected way which was causing an error while generating the docs.
  • Loading branch information
Mohammad-Alavi committed Jul 15, 2023
1 parent 4e1d128 commit e1ae32f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
'phpdoc_align' => [
'align' => 'left',
],
'ignored_tags' => false
])
->setFinder($finder);
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* @apiDefine PermissionSuccessSingleResponse
*
* @apiSuccess {Object[]} data
Expand Down Expand Up @@ -32,7 +32,7 @@
* }
*/

/*
/**
* @apiDefine PermissionSuccessMultipleResponse
*
* @apiQuery {String} [include]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* @apiDefine RoleSuccessSingleResponse
*
* @apiSuccess {Object[]} data
Expand Down Expand Up @@ -40,7 +40,7 @@
* }
*/

/*
/**
* @apiDefine RoleSuccessMultipleResponse
*
* @apiQuery {String} [include]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* @apiDefine UserSuccessSingleResponse
*
* @apiSuccess {Object[]} data
Expand Down Expand Up @@ -46,7 +46,7 @@
* }
*/

/*
/**
* @apiDefine UserSuccessMultipleResponse
*
* @apiQuery {String} [include]
Expand Down

0 comments on commit e1ae32f

Please sign in to comment.