@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
94 | - * @param $string |
|
94 | + * @param string $string |
|
95 | 95 | * @param int $index |
96 | 96 | * @return string |
97 | 97 | */ |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | } |
143 | 143 | |
144 | 144 | /** |
145 | - * @param $cmd |
|
145 | + * @param string $cmd |
|
146 | 146 | */ |
147 | 147 | public function write($cmd) { |
148 | 148 | fwrite($this->_stream, $cmd); |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | } |
212 | 212 | |
213 | 213 | /** |
214 | - * @param $cmd |
|
214 | + * @param string $cmd |
|
215 | 215 | * @return string |
216 | 216 | */ |
217 | 217 | public function exec($cmd) { |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | } |
237 | 237 | |
238 | 238 | /** |
239 | - * @return mixed |
|
239 | + * @return string |
|
240 | 240 | */ |
241 | 241 | public function get_response() { |
242 | 242 | return $this->_response; |
@@ -735,7 +735,7 @@ discard block |
||
735 | 735 | |
736 | 736 | /** |
737 | 737 | * @param $config |
738 | - * @return bool |
|
738 | + * @return null|boolean |
|
739 | 739 | */ |
740 | 740 | public function configure($config) { |
741 | 741 | // USE AT OWN RISK: This function will apply configuration statements to a device. |
@@ -775,7 +775,7 @@ discard block |
||
775 | 775 | class cisco_parser { |
776 | 776 | /** |
777 | 777 | * @param $lines |
778 | - * @param $x |
|
778 | + * @param integer $x |
|
779 | 779 | * @return int |
780 | 780 | */ |
781 | 781 | public function get_space_depth($lines, $x) { |