From b269456d4576933c7cdc213371aadf46f8657064 Mon Sep 17 00:00:00 2001 From: Florian Steffens Date: Mon, 30 Oct 2023 08:16:45 +0100 Subject: [PATCH] fix psalm error Signed-off-by: Florian Steffens --- lib/Service/RowService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/RowService.php b/lib/Service/RowService.php index 7a264cb9c..c5999db88 100644 --- a/lib/Service/RowService.php +++ b/lib/Service/RowService.php @@ -143,7 +143,7 @@ public function create( foreach ($data as $entry) { if (!in_array($entry['columnId'], $columns)) { - throw new InternalError('Column with id '.$entry['columnId'].' is not part of view with id '.$viewId ?? $tableId); + throw new InternalError('Column with id '.$entry['columnId'].' is not part of view with id '.$viewId); } }