Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit cb8b2e1

Browse files
committed
Fixes DocBlocks in Zend_Application_Resource_Db
1 parent de68609 commit cb8b2e1

File tree

1 file changed

+5
-3
lines changed
  • library/Zend/Application/Resource

1 file changed

+5
-3
lines changed

library/Zend/Application/Resource/Db.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function getAdapter()
8888
/**
8989
* Set the adapter params
9090
*
91-
* @param string $adapter
91+
* @param array $params
9292
* @return Zend_Application_Resource_Db
9393
*/
9494
public function setParams(array $params)
@@ -110,7 +110,7 @@ public function getParams()
110110
/**
111111
* Set whether to use this as default table adapter
112112
*
113-
* @param boolean $defaultTableAdapter
113+
* @param bool $isDefaultTableAdapter
114114
* @return Zend_Application_Resource_Db
115115
*/
116116
public function setIsDefaultTableAdapter($isDefaultTableAdapter)
@@ -122,7 +122,7 @@ public function setIsDefaultTableAdapter($isDefaultTableAdapter)
122122
/**
123123
* Is this adapter the default table adapter?
124124
*
125-
* @return void
125+
* @return bool
126126
*/
127127
public function isDefaultTableAdapter()
128128
{
@@ -160,6 +160,8 @@ public function init()
160160
if (null !== ($db = $this->getDbAdapter())) {
161161
return $db;
162162
}
163+
164+
return null;
163165
}
164166

165167
/**

0 commit comments

Comments
 (0)