File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ class Zend_Application_Module_Autoloader extends Zend_Loader_Autoloader_Resource
39
39
* Constructor
40
40
*
41
41
* @param array|Zend_Config $options
42
- * @return void
43
42
*/
44
43
public function __construct ($ options )
45
44
{
Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ abstract class Zend_Application_Module_Bootstrap
48
48
/**
49
49
* Constructor
50
50
*
51
- * @param Zend_Application|Zend_Application_Bootstrap_Bootstrapper $application
52
- * @return void
51
+ * @param Zend_Application|Zend_Application_Bootstrap_Bootstrapper $application
53
52
*/
54
53
public function __construct ($ application )
55
54
{
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
/**
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ class Zend_Application_Resource_Frontcontroller extends Zend_Application_Resourc
46
46
* Initialize Front Controller
47
47
*
48
48
* @return Zend_Controller_Front
49
+ * @throws Zend_Application_Exception
49
50
*/
50
51
public function init ()
51
52
{
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ class Zend_Application_Resource_Modules extends Zend_Application_Resource_Resour
46
46
* Constructor
47
47
*
48
48
* @param mixed $options
49
- * @return void
50
49
*/
51
50
public function __construct ($ options = null )
52
51
{
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ interface Zend_Application_Resource_Resource
37
37
* Must take an optional single argument, $options.
38
38
*
39
39
* @param mixed $options
40
- * @return void
41
40
*/
42
41
public function __construct ($ options = null );
43
42
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ public function setSaveHandler($saveHandler)
62
62
* Get session save handler
63
63
*
64
64
* @return Zend_Session_SaveHandler_Interface
65
+ * @throws Zend_Application_Resource_Exception
65
66
*/
66
67
public function getSaveHandler ()
67
68
{
You can’t perform that action at this time.
0 commit comments