Skip to content
Permalink
Browse files

typos correction

  • Loading branch information...
antograssiot committed Jul 26, 2014
1 parent 0528600 commit ac1d2b9da6fefefc6615570fa0f75afe6ed6421a
@@ -371,7 +371,7 @@ protected function _generateRecords(Table $table, $recordCount = 1) {
}
/**
* Convert a $records array into a a string.
* Convert a $records array into a string.
*
* @param array $records Array of records to be converted to string
* @return string A string value of the $records array.
@@ -114,7 +114,7 @@ public function level($level = null) {
/**
* Output at the verbose level.
*
* @param string|array $message A string or a an array of strings to output
* @param string|array $message A string or an array of strings to output
* @param int $newlines Number of newlines to append
* @return int|bool Returns the number of bytes returned from writing to stdout.
*/
@@ -125,7 +125,7 @@ public function verbose($message, $newlines = 1) {
/**
* Output at all levels.
*
* @param string|array $message A string or a an array of strings to output
* @param string|array $message A string or an array of strings to output
* @param int $newlines Number of newlines to append
* @return int|bool Returns the number of bytes returned from writing to stdout.
*/
@@ -144,7 +144,7 @@ public function quiet($message, $newlines = 1) {
* present in most shells. Using Shell::QUIET for a message means it will always display.
* While using Shell::VERBOSE means it will only display when verbose output is toggled.
*
* @param string|array $message A string or a an array of strings to output
* @param string|array $message A string or an array of strings to output
* @param int $newlines Number of newlines to append
* @param int $level The message's output level, see above.
* @return int|bool Returns the number of bytes returned from writing to stdout.
@@ -193,7 +193,7 @@ public function overwrite($message, $newlines = 1, $size = null) {
* Outputs a single or multiple error messages to stderr. If no parameters
* are passed outputs just a newline.
*
* @param string|array $message A string or a an array of strings to output
* @param string|array $message A string or an array of strings to output
* @param int $newlines Number of newlines to append
* @return void
*/
@@ -168,7 +168,7 @@ public function __construct($stream = 'php://stdout') {
* Outputs a single or multiple messages to stdout. If no parameters
* are passed, outputs just a newline.
*
* @param string|array $message A string or a an array of strings to output
* @param string|array $message A string or an array of strings to output
* @param int $newlines Number of newlines to append
* @return int Returns the number of bytes returned from writing to stdout.
*/
@@ -42,7 +42,7 @@ class HelpFormatter {
protected $_maxOptions = 6;
/**
* Build the help formatter for a an OptionParser
* Build the help formatter for an OptionParser
*
* @param ConsoleOptionParser $parser The option parser help is being generated for.
*/
@@ -478,7 +478,7 @@ public function wrapText($text, $options = []) {
* present in most shells. Using Shell::QUIET for a message means it will always display.
* While using Shell::VERBOSE means it will only display when verbose output is toggled.
*
* @param string|array $message A string or a an array of strings to output
* @param string|array $message A string or an array of strings to output
* @param int $newlines Number of newlines to append
* @param int $level The message's output level, see above.
* @return int|bool Returns the number of bytes returned from writing to stdout.
@@ -492,7 +492,7 @@ public function out($message = null, $newlines = 1, $level = Shell::NORMAL) {
* Outputs a single or multiple error messages to stderr. If no parameters
* are passed outputs just a newline.
*
* @param string|array $message A string or a an array of strings to output
* @param string|array $message A string or an array of strings to output
* @param int $newlines Number of newlines to append
* @return void
*/
@@ -55,7 +55,7 @@
* CakePHP fires a number of life cycle callbacks during each request. By implementing a method
* you can receive the related events. The available callbacks are:
*
* - `beforeFilter(Event $event)` - Called before the before each action. This is a good place to
* - `beforeFilter(Event $event)` - Called before each action. This is a good place to
* do general logic that applies to all actions.
* - `beforeRender(Event $event)` - Called before the view is rendered.
* - `beforeRedirect(Cake\Event\Event $event $url, Cake\Network\Response $response)` - Called before
@@ -1003,7 +1003,7 @@ public function notModified() {
* parameters are passed, then an array with the current Vary header
* value is returned
*
* @param string|array $cacheVariances a single Vary string or a array
* @param string|array $cacheVariances a single Vary string or an array
* containing the list for variances.
* @return array
*/
@@ -529,7 +529,7 @@ public function hasBehavior($name) {
}
/**
* Returns a association objected configured for the specified alias if any
* Returns an association object configured for the specified alias if any
*
* @param string $name the alias used for the association
* @return \Cake\ORM\Association
@@ -192,7 +192,7 @@ public function offset($offset = false, $seek = SEEK_SET) {
}
/**
* Prepares a ASCII string for writing. Converts line endings to the
* Prepares an ASCII string for writing. Converts line endings to the
* correct terminator for the current platform. If Windows, "\r\n" will be used,
* all other platforms will use "\n"
*
@@ -330,7 +330,7 @@ protected static function _createChild($data) {
}
/**
* Returns this XML structure as a array.
* Returns this XML structure as an array.
*
* @param \SimpleXMLElement|\DOMDocument|\DOMNode $obj SimpleXMLElement, DOMDocument or DOMNode instance
* @return array Array representation of the XML structure.

0 comments on commit ac1d2b9

Please sign in to comment.
You can’t perform that action at this time.