Skip to content

Commit f7b8f39

Browse files
amulet1ralflang
authored andcommitted
fix: add missing classes accidentally omitted in prior fixes
1 parent 1a49883 commit f7b8f39

File tree

2 files changed

+78
-0
lines changed

2 files changed

+78
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
/**
3+
* Horde_ActiveSync_Search_Params
4+
*
5+
* @license http://www.horde.org/licenses/gpl GPLv2
6+
* @copyright 2026 Horde LLC (http://www.horde.org)
7+
* @author Dmitry Petrov <dpetrov67@gmail.com>
8+
* @package ActiveSync
9+
*/
10+
11+
/**
12+
* Horde_ActiveSync_Search_Params class for Horde_ActiveSync.
13+
*
14+
* @license http://www.horde.org/licenses/gpl GPLv2
15+
* @copyright 2026 Horde LLC (http://www.horde.org)
16+
* @author Dmitry Petrov <dpetrov67@gmail.com>
17+
* @package ActiveSync
18+
*/
19+
class Horde_ActiveSync_Search_Params
20+
{
21+
/**
22+
* Constructor.
23+
*
24+
* @param string $type The search type; one of 'gal', 'mailbox',
25+
* or 'documentlibrary'.
26+
* @param array $query The search query.
27+
* @param array $options The search options.
28+
* @param int $start The start offset for results.
29+
* @param int $limit The maximum number of results to return.
30+
* @param bool $rebuildResults If true, invalidate any cached search;
31+
* otherwise use cached results if available.
32+
* @param bool $deepTraversal If true, traverse sub-folders.
33+
*/
34+
public function __construct(
35+
public string $type,
36+
public array $query,
37+
public array $options,
38+
public int $start,
39+
public int $limit,
40+
public bool $rebuildResults,
41+
public bool $deepTraversal,
42+
) {
43+
}
44+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?php
2+
/**
3+
* Horde_ActiveSync_Search_Results
4+
*
5+
* @license http://www.horde.org/licenses/gpl GPLv2
6+
* @copyright 2026 Horde LLC (http://www.horde.org)
7+
* @author Dmitry Petrov <dpetrov67@gmail.com>
8+
* @package ActiveSync
9+
*/
10+
11+
/**
12+
* Horde_ActiveSync_Search_Results class for Horde_ActiveSync.
13+
*
14+
* @license http://www.horde.org/licenses/gpl GPLv2
15+
* @copyright 2026 Horde LLC (http://www.horde.org)
16+
* @author Dmitry Petrov <dpetrov67@gmail.com>
17+
* @package ActiveSync
18+
*/
19+
class Horde_ActiveSync_Search_Results
20+
{
21+
/**
22+
* Constructor.
23+
*
24+
* @param int $total The total number of results available.
25+
* @param array|null $rows The result rows, or null if error.
26+
* @param int $status The search status code.
27+
*/
28+
public function __construct(
29+
public int $total,
30+
public ?array $rows,
31+
public int $status,
32+
) {
33+
}
34+
}

0 commit comments

Comments
 (0)