We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b07b778 + a35e09e commit 4e0985aCopy full SHA for 4e0985a
dev/tests/functional/lib/Magento/Mtf/Util/Generate/Fixture/FieldsProvider.php
@@ -182,14 +182,14 @@ protected function compositeCollectFields(array $fixture)
182
* Retrieve connection to resource specified by $resourceName.
183
*
184
* @param string $resourceName
185
- * @return \Exception|false|\Magento\Framework\DB\Adapter\AdapterInterface|\Zend_Exception
+ * @return \Exception|false|\Magento\Framework\DB\Adapter\AdapterInterface
186
*/
187
protected function getConnection($resourceName)
188
{
189
try {
190
$connection = $this->resource->getConnection($resourceName);
191
return $connection;
192
- } catch (\Zend_Exception $e) {
+ } catch (\Exception $e) {
193
echo $e->getMessage() . PHP_EOL;
194
return $e;
195
}
0 commit comments