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(
132132 }
133133
134134 /**
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).
136136 */
137137 public static function createChild (
138138 JobExecution $ parent ,
Original file line number Diff line number Diff line change 1313 * Usage:
1414 *
1515 * (new QueryBuilder())
16- * ->jobs (['123', '456'])
17- * ->ids (['export', 'import'])
16+ * ->ids (['123', '456'])
17+ * ->jobs (['export', 'import'])
1818 * ->statuses([BatchStatus::RUNNING, BatchStatus::COMPLETED])
1919 * ->sort(Query::SORT_BY_END_DESC)
2020 * ->limit(6, 12)
2323 * Not an immutable object, can be used without chaining calls:
2424 *
2525 * $builder = new QueryBuilder();
26- * $builder->jobs (['123', '456']);
27- * $builder->ids (['export', 'import']);
26+ * $builder->ids (['123', '456']);
27+ * $builder->jobs (['export', 'import']);
2828 * $builder->statuses([BatchStatus::RUNNING, BatchStatus::COMPLETED]);
2929 * $builder->sort(Query::SORT_BY_END_DESC);
3030 * $builder->limit(6, 12);
Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ public function valid(): \Generator
6161 ];
6262 yield 'Query complex ' => [
6363 fn () => (new QueryBuilder ())
64- ->jobs (['123 ' , '456 ' ])
65- ->ids (['export ' , 'import ' ])
64+ ->ids (['123 ' , '456 ' ])
65+ ->jobs (['export ' , 'import ' ])
6666 ->statuses ([BatchStatus::RUNNING , BatchStatus::COMPLETED ])
6767 ->sort (Query::SORT_BY_END_DESC )
6868 ->limit (6 , 12 ),
6969 new Query (
70- ['123 ' , '456 ' ],
7170 ['export ' , 'import ' ],
71+ ['123 ' , '456 ' ],
7272 [BatchStatus::RUNNING , BatchStatus::COMPLETED ],
7373 Query::SORT_BY_END_DESC ,
7474 6 ,
You can’t perform that action at this time.
0 commit comments