1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-10-13 11:47:56 +03:00

Updated php deps, formatted command changes

This commit is contained in:
Dan Brown
2023-05-08 14:37:01 +01:00
parent 8846f7d255
commit ee1e047964
2 changed files with 89 additions and 28 deletions

View File

@@ -87,10 +87,10 @@ class UpdateUrl extends Command
*/
protected function replaceValueInTable(
Connection $db,
string $table,
string $column,
string $oldUrl,
string $newUrl
string $table,
string $column,
string $oldUrl,
string $newUrl
): int {
$oldQuoted = $db->getPdo()->quote($oldUrl);
$newQuoted = $db->getPdo()->quote($newUrl);