Skip to content

Commit 6f2710c

Browse files
committed
Fix CS
1 parent 1b70ac2 commit 6f2710c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Listener/JsonApiListener.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
use Cake\Event\Event;
99
use Cake\Http\Exception\BadRequestException;
1010
use Cake\ORM\Association;
11+
use Cake\ORM\Query;
1112
use Cake\ORM\ResultSet;
1213
use Cake\ORM\Table;
1314
use Cake\ORM\TableRegistry;
14-
use Cake\ORM\Query;
1515
use Cake\Utility\Hash;
1616
use Cake\Utility\Inflector;
1717
use CrudJsonApi\Listener\JsonApi\DocumentValidator;
18-
use CrudJsonApi\Traits\JsonApiTrait;
1918
use Crud\Error\Exception\CrudException;
2019
use Crud\Event\Subject;
2120
use Crud\Listener\ApiListener;

src/Schema/JsonApi/DynamicEntitySchema.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ protected function getRepository($entity = null): Table
101101
*
102102
* This method will ignore any properties that are entities.
103103
*
104+
* @param \Cake\Datasource\EntityInterface $entity Entity
104105
* @return array
105106
*/
106107
protected function entityToShallowArray(EntityInterface $entity)

0 commit comments

Comments
 (0)