|
@@ -199,14 +199,14 @@ |
|
|
block discarded – undo |
|
199
|
199
|
|
|
200
|
200
|
// If there is no driver for the given type class throw an exception |
|
201
|
201
|
if ($driver === false) { |
|
202
|
|
- throw new Exception('Cannot find a driver for the given type class "' . $typeClass . '".'); |
|
|
202
|
+ throw new Exception('Cannot find a driver for the given type class "'.$typeClass.'".'); |
|
203
|
203
|
} |
|
204
|
204
|
|
|
205
|
205
|
$dataSourceClass = $this->searchDataSourceClass($typeClass, $driver); |
|
206
|
206
|
|
|
207
|
207
|
// If there is no data source class for the given type class throw an exception |
|
208
|
208
|
if ($dataSourceClass === false) { |
|
209
|
|
- throw new Exception('Cannot find a data source for the given type class "' . $typeClass . '" (selected driver: "' . $driver . '").'); |
|
|
209
|
+ throw new Exception('Cannot find a data source for the given type class "'.$typeClass.'" (selected driver: "'.$driver.'").'); |
|
210
|
210
|
} |
|
211
|
211
|
|
|
212
|
212
|
return $this->framework->getInstance($dataSourceClass); |
Please login to merge, or discard this patch.