tw: remove useless byref
Signed-off-by: Varun Patil <varunpatil@ucla.edu>pull/563/head
parent
c65ad77be3
commit
2c3181b497
|
@ -63,10 +63,8 @@ class TimelineWrite
|
||||||
*
|
*
|
||||||
* @return int 2 if processed, 1 if skipped, 0 if not valid
|
* @return int 2 if processed, 1 if skipped, 0 if not valid
|
||||||
*/
|
*/
|
||||||
public function processFile(
|
public function processFile(File $file, int $force = 0): int
|
||||||
File &$file,
|
{
|
||||||
int $force = 0
|
|
||||||
): int {
|
|
||||||
// There is no easy way to UPSERT in a standard SQL way, so just
|
// There is no easy way to UPSERT in a standard SQL way, so just
|
||||||
// do multiple calls. The worst that can happen is more updates,
|
// do multiple calls. The worst that can happen is more updates,
|
||||||
// but that's not a big deal.
|
// but that's not a big deal.
|
||||||
|
|
Loading…
Reference in New Issue