Commit ddbb789f authored by Steve Müller's avatar Steve Müller

Merge pull request #918 from chadrien/patch-1

Fix typo
parents 1ec608af 5a54184e
...@@ -127,7 +127,7 @@ class DBALException extends \Exception ...@@ -127,7 +127,7 @@ class DBALException extends \Exception
*/ */
public static function driverException(Driver $driver, \Exception $driverEx) public static function driverException(Driver $driver, \Exception $driverEx)
{ {
$msg = "An exception occured in driver: " . $driverEx->getMessage(); $msg = "An exception occurred in driver: " . $driverEx->getMessage();
if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverException) { if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DriverException) {
return $driver->convertException($msg, $driverEx); return $driver->convertException($msg, $driverEx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment