@@ -2,6 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | class View extends View_Core |
| 4 | 4 | { |
| 5 | + /** |
|
| 6 | + * @param string|null $name |
|
| 7 | + */ |
|
| 5 | 8 | public function __construct($name, $data = null, $type = null) |
| 6 | 9 | { |
| 7 | 10 | $smarty_ext = Kohana::config('smarty.templates_ext'); |
@@ -42,6 +42,7 @@ |
||
| 42 | 42 | * Set a benchmark stop point. |
| 43 | 43 | * |
| 44 | 44 | * @param string benchmark name |
| 45 | + * @param string|boolean $name |
|
| 45 | 46 | * @return void |
| 46 | 47 | */ |
| 47 | 48 | public static function stop($name) |
@@ -7,6 +7,7 @@ |
||
| 7 | 7 | * @copyright (c) 2007 Kohana Team |
| 8 | 8 | * @copyright (c) 2005 Harry Fuecks |
| 9 | 9 | * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt |
| 10 | + * @param string $str |
|
| 10 | 11 | */ |
| 11 | 12 | function _str_split($str, $split_length = 1) |
| 12 | 13 | { |
@@ -297,6 +297,7 @@ |
||
| 297 | 297 | * @param resource database link |
| 298 | 298 | * @param boolean return objects or arrays |
| 299 | 299 | * @param string SQL query that was run |
| 300 | + * @param string $sql |
|
| 300 | 301 | */ |
| 301 | 302 | public function __construct($result, $link, $object = true, $sql) |
| 302 | 303 | { |
@@ -178,7 +178,7 @@ |
||
| 178 | 178 | * Check if an option flag has been set |
| 179 | 179 | * @param string Option name |
| 180 | 180 | * @param integer $option |
| 181 | - * @return boolean |
|
| 181 | + * @return integer |
|
| 182 | 182 | */ |
| 183 | 183 | public function hasOption($option) |
| 184 | 184 | { |
@@ -183,6 +183,7 @@ |
||
| 183 | 183 | * @param Swift_Message To send |
| 184 | 184 | * @param Swift_RecipientList Recipients (To: only) |
| 185 | 185 | * @param Swift_Address The sender's address |
| 186 | + * @param Swift_Address $sender |
|
| 186 | 187 | * @return int The number sent to |
| 187 | 188 | */ |
| 188 | 189 | public function send(Swift_Message $message, Swift_RecipientList $recipients, $sender) |
@@ -191,6 +191,7 @@ |
||
| 191 | 191 | /** |
| 192 | 192 | * Write a command to the open pipe |
| 193 | 193 | * @param string The command to write |
| 194 | + * @param string $command |
|
| 194 | 195 | * @throws Swift_ConnectionException If the pipe cannot be written to |
| 195 | 196 | */ |
| 196 | 197 | protected function pipeIn($command, $end="\r\n") |
@@ -144,6 +144,7 @@ |
||
| 144 | 144 | /** |
| 145 | 145 | * Set the remote port number to connect to |
| 146 | 146 | * @param int Port number |
| 147 | + * @param integer|null $port |
|
| 147 | 148 | */ |
| 148 | 149 | public function setPort($port) |
| 149 | 150 | { |
@@ -36,6 +36,7 @@ |
||
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * Get the name of the method which needs running based upon the listener name |
| 39 | + * @param string $listener |
|
| 39 | 40 | * @return string |
| 40 | 41 | */ |
| 41 | 42 | public static function getNotifyMethod($listener) |