tw: remove useless byref

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
pull/563/head
Varun Patil 2023-03-29 16:29:36 -07:00
parent c65ad77be3
commit 2c3181b497
1 changed files with 2 additions and 4 deletions

View File

@ -63,10 +63,8 @@ class TimelineWrite
*
* @return int 2 if processed, 1 if skipped, 0 if not valid
*/
public function processFile(
File &$file,
int $force = 0
): int {
public function processFile(File $file, int $force = 0): int
{
// 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,
// but that's not a big deal.