File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public static function createRoot(
132
132
}
133
133
134
134
/**
135
- * Create a root execution of a job (ie : that has no parent).
135
+ * Create a child execution of a job (ie : that has a parent).
136
136
*/
137
137
public static function createChild (
138
138
JobExecution $ parent ,
Original file line number Diff line number Diff line change 13
13
* Usage:
14
14
*
15
15
* (new QueryBuilder())
16
- * ->jobs (['123', '456'])
17
- * ->ids (['export', 'import'])
16
+ * ->ids (['123', '456'])
17
+ * ->jobs (['export', 'import'])
18
18
* ->statuses([BatchStatus::RUNNING, BatchStatus::COMPLETED])
19
19
* ->sort(Query::SORT_BY_END_DESC)
20
20
* ->limit(6, 12)
23
23
* Not an immutable object, can be used without chaining calls:
24
24
*
25
25
* $builder = new QueryBuilder();
26
- * $builder->jobs (['123', '456']);
27
- * $builder->ids (['export', 'import']);
26
+ * $builder->ids (['123', '456']);
27
+ * $builder->jobs (['export', 'import']);
28
28
* $builder->statuses([BatchStatus::RUNNING, BatchStatus::COMPLETED]);
29
29
* $builder->sort(Query::SORT_BY_END_DESC);
30
30
* $builder->limit(6, 12);
Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ public function valid(): \Generator
61
61
];
62
62
yield 'Query complex ' => [
63
63
fn () => (new QueryBuilder ())
64
- ->jobs (['123 ' , '456 ' ])
65
- ->ids (['export ' , 'import ' ])
64
+ ->ids (['123 ' , '456 ' ])
65
+ ->jobs (['export ' , 'import ' ])
66
66
->statuses ([BatchStatus::RUNNING , BatchStatus::COMPLETED ])
67
67
->sort (Query::SORT_BY_END_DESC )
68
68
->limit (6 , 12 ),
69
69
new Query (
70
- ['123 ' , '456 ' ],
71
70
['export ' , 'import ' ],
71
+ ['123 ' , '456 ' ],
72
72
[BatchStatus::RUNNING , BatchStatus::COMPLETED ],
73
73
Query::SORT_BY_END_DESC ,
74
74
6 ,
You can’t perform that action at this time.
0 commit comments