Permalink
Browse files

Fixing more documentations.

  • Loading branch information...
1 parent 0575e92 commit 40654df5ab8ad44bfa5f27c694a9d6c8c2c443f6 @jrbasso jrbasso committed Aug 19, 2011
@@ -136,7 +136,7 @@ public function execute() {
/**
* Checks PHP's include_path for CakePHP.
*
- * @return bool Indicates whether or not CakePHP exists on include_path
+ * @return boolean Indicates whether or not CakePHP exists on include_path
*/
public function cakeOnIncludePath() {
$paths = explode(PATH_SEPARATOR, ini_get('include_path'));
@@ -304,7 +304,7 @@ public function securityCipherSeed($path) {
* Generates and writes CAKE_CORE_INCLUDE_PATH
*
* @param string $path Project path
- * @param bool $hardCode Wether or not define calls should be hardcoded.
+ * @param boolean $hardCode Wether or not define calls should be hardcoded.
* @return boolean Success
*/
public function corePath($path, $hardCode = true) {
@@ -326,7 +326,7 @@ public function corePath($path, $hardCode = true) {
*
* @param string $filename The filename to operate on.
* @param boolean $hardCode Whether or not the define should be uncommented.
- * @retun bool Success
+ * @return boolean Success
*/
protected function _replaceCorePath($filename, $hardCode) {
$contents = file_get_contents($filename);
@@ -75,6 +75,7 @@ class ConsoleInputOption {
* @param boolean $boolean Whether this option is a boolean option. Boolean options don't consume extra tokens
* @param string $default The default value for this option.
* @param array $choices Valid choices for this option.
+ * @throws ConsoleException
*/
public function __construct($name, $short = null, $help = '', $boolean = false, $default = '', $choices = array()) {
if (is_array($name) && isset($name['name'])) {
@@ -185,10 +185,9 @@ protected function _parseFile($file, $cache) {
* Munges the output from a view with cache tags, and numbers the sections.
* This helps solve issues with empty/duplicate content.
*
- * @param string $content The content to munge.
* @return string The content with cake:nocache tags replaced.
*/
- function _replaceSection($matches) {
+ function _replaceSection() {
$this->_counter += 1;
return sprintf('<!--nocache:%03d-->', $this->_counter);
}

0 comments on commit 40654df

Please sign in to comment.