File manager - Edit - /var/www/payraty/helpdesk/vendor/meilisearch/meilisearch-php/src/Contracts/KeysQuery.php
Back
<?php declare(strict_types=1); namespace Meilisearch\Contracts; class KeysQuery { private int $offset; private int $limit; public function setOffset(int $offset): KeysQuery { $this->offset = $offset; return $this; } public function setLimit(int $limit): KeysQuery { $this->limit = $limit; return $this; } public function toArray(): array { return array_filter([ 'offset' => $this->offset ?? null, 'limit' => $this->limit ?? null, ], function ($item) { return null != $item || is_numeric($item); }); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings