Skip to content

Commit 98b7d68

Browse files
committed
add some minor phpdocs
1 parent dfbf842 commit 98b7d68

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Form/Control/Lookup.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function outputApiResponse(): void
180180
*
181181
* @param int|bool $limit
182182
*
183-
* @return array<int, array{value: string, title: mixed}>
183+
* @return list<array{value: string, title: mixed}>
184184
*/
185185
public function getData($limit = true): array
186186
{

src/Form/Control/ScopeBuilder.php

+2
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,8 @@ public function scopeToQuery(Scope\AbstractScope $scope, array $inputsMap = []):
606606

607607
/**
608608
* Converts a Condition to VueQueryBuilder query array.
609+
*
610+
* @return array{rule: string, operator: string, value: string|null, option: array|null}
609611
*/
610612
public function conditionToQuery(Condition $condition, array $inputsMap = []): array
611613
{

0 commit comments

Comments
 (0)