This repository was archived by the owner on Oct 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
library/Zend/Application/Resource Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public function getAdapter()
88
88
/**
89
89
* Set the adapter params
90
90
*
91
- * @param string $adapter
91
+ * @param array $params
92
92
* @return Zend_Application_Resource_Db
93
93
*/
94
94
public function setParams (array $ params )
@@ -110,7 +110,7 @@ public function getParams()
110
110
/**
111
111
* Set whether to use this as default table adapter
112
112
*
113
- * @param boolean $defaultTableAdapter
113
+ * @param bool $isDefaultTableAdapter
114
114
* @return Zend_Application_Resource_Db
115
115
*/
116
116
public function setIsDefaultTableAdapter ($ isDefaultTableAdapter )
@@ -122,7 +122,7 @@ public function setIsDefaultTableAdapter($isDefaultTableAdapter)
122
122
/**
123
123
* Is this adapter the default table adapter?
124
124
*
125
- * @return void
125
+ * @return bool
126
126
*/
127
127
public function isDefaultTableAdapter ()
128
128
{
@@ -160,6 +160,8 @@ public function init()
160
160
if (null !== ($ db = $ this ->getDbAdapter ())) {
161
161
return $ db ;
162
162
}
163
+
164
+ return null ;
163
165
}
164
166
165
167
/**
You can’t perform that action at this time.
0 commit comments