@@ 330-332 (lines=3) @@ | ||
327 | { |
|
328 | $query = null; |
|
329 | switch (count($queryByChoice[$rChoice])) { |
|
330 | case 1: |
|
331 | $query = call_user_func([$this, $queryByChoice[$rChoice][0]]); |
|
332 | break; |
|
333 | case 2: |
|
334 | $query = call_user_func([$this, $queryByChoice[$rChoice][0]], $queryByChoice[$rChoice][1]); |
|
335 | break; |
|
@@ 333-335 (lines=3) @@ | ||
330 | case 1: |
|
331 | $query = call_user_func([$this, $queryByChoice[$rChoice][0]]); |
|
332 | break; |
|
333 | case 2: |
|
334 | $query = call_user_func([$this, $queryByChoice[$rChoice][0]], $queryByChoice[$rChoice][1]); |
|
335 | break; |
|
336 | } |
|
337 | return $query; |
|
338 | } |