File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/functional/lib/Magento/Mtf/Util/Generate/Fixture Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -182,14 +182,14 @@ protected function compositeCollectFields(array $fixture)
182
182
* Retrieve connection to resource specified by $resourceName.
183
183
*
184
184
* @param string $resourceName
185
- * @return \Exception|false|\Magento\Framework\DB\Adapter\AdapterInterface|\Zend_Exception
185
+ * @return \Exception|false|\Magento\Framework\DB\Adapter\AdapterInterface
186
186
*/
187
187
protected function getConnection ($ resourceName )
188
188
{
189
189
try {
190
190
$ connection = $ this ->resource ->getConnection ($ resourceName );
191
191
return $ connection ;
192
- } catch (\Zend_Exception $ e ) {
192
+ } catch (\Exception $ e ) {
193
193
echo $ e ->getMessage () . PHP_EOL ;
194
194
return $ e ;
195
195
}
You can’t perform that action at this time.
0 commit comments