From 2c3181b497a4ae0ee009df2d7800b3f1f827d5e9 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 29 Mar 2023 16:29:36 -0700 Subject: [PATCH] tw: remove useless byref Signed-off-by: Varun Patil --- lib/Db/TimelineWrite.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Db/TimelineWrite.php b/lib/Db/TimelineWrite.php index 4dbf0a92..b1c30426 100644 --- a/lib/Db/TimelineWrite.php +++ b/lib/Db/TimelineWrite.php @@ -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.