@@ -3,8 +3,6 @@ |
||
3 | 3 | namespace Folk\Controllers; |
4 | 4 | |
5 | 5 | use Psr\Http\Message\ServerRequestInterface as Request; |
6 | -use Psr\Http\Message\ResponseInterface as Response; |
|
7 | -use Folk\Admin; |
|
8 | 6 | |
9 | 7 | class InsertEntity extends Entity |
10 | 8 | { |
@@ -86,8 +86,8 @@ |
||
86 | 86 | { |
87 | 87 | $query = $request->getQueryParams(); |
88 | 88 | $thumbs = $this->app->getPath($query['thumbs']); |
89 | - $limit = empty($query['limit']) ? 100 : (int) $query['limit']; |
|
90 | - $offset = empty($query['offset']) ? 0 : (int) $query['offset']; |
|
89 | + $limit = empty($query['limit']) ? 100 : (int)$query['limit']; |
|
90 | + $offset = empty($query['offset']) ? 0 : (int)$query['offset']; |
|
91 | 91 | $pattern = empty($query['pattern']) ? '/*' : $query['pattern']; |
92 | 92 | |
93 | 93 | $files = []; |