File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
use Cake \Event \Event ;
9
9
use Cake \Http \Exception \BadRequestException ;
10
10
use Cake \ORM \Association ;
11
+ use Cake \ORM \Query ;
11
12
use Cake \ORM \ResultSet ;
12
13
use Cake \ORM \Table ;
13
14
use Cake \ORM \TableRegistry ;
14
- use Cake \ORM \Query ;
15
15
use Cake \Utility \Hash ;
16
16
use Cake \Utility \Inflector ;
17
17
use CrudJsonApi \Listener \JsonApi \DocumentValidator ;
18
- use CrudJsonApi \Traits \JsonApiTrait ;
19
18
use Crud \Error \Exception \CrudException ;
20
19
use Crud \Event \Subject ;
21
20
use Crud \Listener \ApiListener ;
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ protected function getRepository($entity = null): Table
101
101
*
102
102
* This method will ignore any properties that are entities.
103
103
*
104
+ * @param \Cake\Datasource\EntityInterface $entity Entity
104
105
* @return array
105
106
*/
106
107
protected function entityToShallowArray (EntityInterface $ entity )
You can’t perform that action at this time.
0 commit comments