1 | <?php |
||
11 | abstract class SelectOrUnionAll implements \IteratorAggregate |
||
12 | { |
||
13 | /** |
||
14 | * @param Order[] $orders |
||
15 | * @param Cursor|int[]|string[] $cursor |
||
16 | * @param Limit $limit |
||
17 | * @param Direction $direction |
||
18 | * @param bool $exclusive |
||
19 | * @param bool $seekable |
||
20 | * @return Select|static|UnionAll |
||
21 | */ |
||
22 | 17 | public static function create(array $orders, $cursor, Limit $limit, Direction $direction, $exclusive, $seekable) |
|
43 | } |
||
44 |
If an expression can have both
false
, andnull
as possible values. It is generally a good practice to always use strict comparison to clearly distinguish between those two values.