Completed
Push — master ( c1f524...7cb7ba )
by Michael
08:26
created
src/Database/Migrations.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,8 +64,7 @@  discard block
 block discarded – undo
64 64
 					->select('version')
65 65
 					->from('#__migrations')
66 66
 			)->loadColumn();
67
-		}
68
-		catch (ExecutionFailureException | PrepareStatementFailureException $exception)
67
+		} catch (ExecutionFailureException | PrepareStatementFailureException $exception)
69 68
 		{
70 69
 			// On PDO we're checking "42S02, 1146, Table 'XXX.#__migrations' doesn't exist"
71 70
 			if (strpos($exception->getMessage(), "migrations' doesn't exist") === false)
@@ -132,8 +131,7 @@  discard block
 block discarded – undo
132 131
 					->select('version')
133 132
 					->from('#__migrations')
134 133
 			)->loadColumn();
135
-		}
136
-		catch (ExecutionFailureException | PrepareStatementFailureException $exception)
134
+		} catch (ExecutionFailureException | PrepareStatementFailureException $exception)
137 135
 		{
138 136
 			// If the table does not exist, we can still try to run migrations
139 137
 			if (strpos($exception->getMessage(), "migrations' doesn't exist") === false)
Please login to merge, or discard this patch.