Permalink
Browse files

doublespace to single space

  • Loading branch information...
dereuromark committed Jul 5, 2013
1 parent c989624 commit e7f380d2b796b3ebc6874a4dcd1c3c36fcd669d1
@@ -542,7 +542,7 @@ public function wrapText($text, $options = array()) {
*
* There are 3 built-in output level. Shell::QUIET, Shell::NORMAL, Shell::VERBOSE.
* The verbose and quiet output levels, map to the `verbose` and `quiet` output switches
- * present in most shells. Using Shell::QUIET for a message means it will always display.
+ * 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
@@ -18,7 +18,7 @@
*/
?>
<div class="<?php echo $pluralVar; ?> view">
-<h2><?php echo "<?php echo __('{$singularHumanName}'); ?>"; ?></h2>
+<h2><?php echo "<?php echo __('{$singularHumanName}'); ?>"; ?></h2>
<dl>
<?php
foreach ($fields as $field) {
@@ -28,7 +28,7 @@
* )
* }}}
*
- * When configuring BlowfishAuthenticate you can pass in settings to which fields, model and additional conditions
+ * When configuring BlowfishAuthenticate you can pass in settings to which fields, model and additional conditions
* are used. See FormAuthenticate::$settings for more information.
*
* For initial password hashing/creation see Security::hash(). Other than how the password is initially hashed,
@@ -24,7 +24,7 @@
* password using `DigestAuthenticate::password()`. If you wish to use digest authentication alongside other
* authentication methods, its recommended that you store the digest authentication separately.
*
- * Clients using Digest Authentication must support cookies. Since AuthComponent identifies users based
+ * Clients using Digest Authentication must support cookies. Since AuthComponent identifies users based
* on Session contents, clients without support for cookies will not function properly.
*
* ### Using Digest auth
@@ -62,7 +62,7 @@ class CookieComponent extends Component {
* $this->Cookie->path = '/';
*
* The path on the server in which the cookie will be available on.
- * If public $cookiePath is set to '/foo/', the cookie will only be available
+ * If public $cookiePath is set to '/foo/', the cookie will only be available
* within the /foo/ directory and all sub-directories such as /foo/bar/ of domain.
* The default value is the entire domain.
*
View
@@ -110,8 +110,8 @@ public function requestAction($url, $extra = array()) {
* Calls a method on this object with the given parameters. Provides an OO wrapper
* for `call_user_func_array`
*
- * @param string $method Name of the method to call
- * @param array $params Parameter list to use when calling $method
+ * @param string $method Name of the method to call
+ * @param array $params Parameter list to use when calling $method
* @return mixed Returns the result of the method call
*/
public function dispatchMethod($method, $params = array()) {
@@ -32,7 +32,7 @@
*
* ### Uncaught exceptions
*
- * When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
+ * When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
* and it is a type that ErrorHandler does not know about it will be treated as a 500 error.
*
* ### Implementing application specific exception handling
@@ -30,7 +30,7 @@
* Exception Renderer.
*
* Captures and handles all unhandled exceptions. Displays helpful framework errors when debug > 1.
- * When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
+ * When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
* and it is a type that ExceptionHandler does not know about it will be treated as a 500 error.
*
* ### Implementing application specific exception rendering
@@ -173,7 +173,7 @@ public function rollback() {
/**
* Converts column types to basic types
*
- * @param string $real Real column type (i.e. "varchar(255)")
+ * @param string $real Real column type (i.e. "varchar(255)")
* @return string Abstract column type (i.e. "string")
*/
public function column($real) {
View
@@ -948,7 +948,7 @@ public function bindModel($params, $reset = true) {
* unbound models that are not made permanent will reset with the next call to Model::find()
*
* @param array $params Set of bindings to unbind (indexed by binding type)
- * @param boolean $reset Set to false to make the unbinding permanent
+ * @param boolean $reset Set to false to make the unbinding permanent
* @return boolean Success
* @link http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#creating-and-destroying-associations-on-the-fly
*/
@@ -559,7 +559,7 @@ public function is($type) {
* e.g `addDetector('post', array('param' => 'requested', 'value' => 1)`
*
* @param string $name The name of the detector.
- * @param array $options The options for the detector definition. See above.
+ * @param array $options The options for the detector definition. See above.
* @return void
*/
public function addDetector($name, $options) {
@@ -778,9 +778,9 @@ public function cache($since, $time = '+1 day') {
* This method controls the `public` or `private` directive in the Cache-Control
* header
*
- * @param boolean $public if set to true, the Cache-Control header will be set as public
- * if set to false, the response will be set to private
- * if no value is provided, it will return whether the response is sharable or not
+ * @param boolean $public If set to true, the Cache-Control header will be set as public
+ * if set to false, the response will be set to private
+ * if no value is provided, it will return whether the response is sharable or not
* @param integer $time time in seconds after which the response should no longer be considered fresh
* @return boolean
*/
@@ -858,7 +858,7 @@ public function maxAge($seconds = null) {
* If called with no parameters, this function will return whether must-revalidate is present.
*
* @param integer $seconds if null, the method will return the current
- * must-revalidate value
+ * must-revalidate value
* @return boolean
*/
public function mustRevalidate($enable = null) {
@@ -968,7 +968,7 @@ public function notModified() {
* value is returned
*
* @param string|array $cacheVariances a single Vary string or a array
- * containing the list for variances.
+ * containing the list for variances.
* @return array
*/
public function vary($cacheVariances = null) {
@@ -1000,7 +1000,7 @@ public function vary($cacheVariances = null) {
*
* @param string $hash the unique has that identifies this response
* @param boolean $weak whether the response is semantically the same as
- * other with the same hash or not
+ * other with the same hash or not
* @return string
*/
public function etag($tag = null, $weak = false) {
@@ -578,7 +578,7 @@ public function testDefaultPaginateParams() {
}
/**
- * test paginate() and model default order
+ * test paginate() and model default order
*
* @return void
*/
@@ -813,7 +813,7 @@ public function testLoadClassInLibs() {
}
/**
- * Tests that App::location() returns the defined path for a class
+ * Tests that App::location() returns the defined path for a class
*
* @return void
*/
@@ -738,7 +738,7 @@ public function testAlterIndexes() {
}
/**
- * Test the alterSchema RENAME statements
+ * Test the alterSchema RENAME statements
*
* @return void
*/
@@ -861,7 +861,7 @@ public function testQueryAssociationUnneededQueries() {
$Comment->find('all', array('recursive' => 2)); // ensure Model descriptions are saved
$this->db->getLog();
- // case: Comment belongsTo User and Article
+ // case: Comment belongsTo User and Article
$Comment->unbindModel(array(
'hasOne' => array('Attachment')
));
@@ -4573,7 +4573,7 @@ public function testSaveAllValidateFirst() {
$result = $model->saveAll(array(
'Article' => array(
'title' => 'Post with Author',
- 'body' => 'This post will be saved author'
+ 'body' => 'This post will be saved author'
),
'Comment' => array(
array('comment' => 'First new comment'),
@@ -5977,7 +5977,7 @@ public function testSaveAssociatedValidateFirst() {
$result = $model->saveAssociated(array(
'Article' => array(
'title' => 'Post with Author',
- 'body' => 'This post will be saved author'
+ 'body' => 'This post will be saved author'
),
'Comment' => array(
array('comment' => 'First new comment'),
@@ -701,7 +701,7 @@ public static function addFormat($format, array $strings) {
* straight HTML output, or 'txt' for unformatted text.
* @param array $strings Template strings to be used for the output format.
* @return string
- * @deprecated Use Debugger::outputAs() and Debugger::addFormat(). Will be removed
+ * @deprecated Use Debugger::outputAs() and Debugger::addFormat(). Will be removed
* in 3.0
*/
public function output($format = null, $strings = array()) {
View
@@ -457,7 +457,7 @@ public static function extract($path, $data = null, $options = array()) {
* This function can be used to see if a single item or a given xpath match certain conditions.
*
* @param string|array $conditions An array of condition strings or an XPath expression
- * @param array $data An array of data to execute the match on
+ * @param array $data An array of data to execute the match on
* @param integer $i Optional: The 'nth'-number of the item being matched.
* @param integer $length
* @return boolean
View
@@ -583,7 +583,7 @@ public function getVars() {
*
* @param string $var The view var you want the contents of.
* @return mixed The content of the named var if its set, otherwise null.
- * @deprecated Will be removed in 3.0 Use View::get() instead.
+ * @deprecated Will be removed in 3.0. Use View::get() instead.
*/
public function getVar($var) {
return $this->get($var);
View
@@ -127,7 +127,7 @@ function debug($var, $showHtml = null, $showFrom = true) {
*
* @param array $array Array to sort
* @param string $sortby Sort by this key
- * @param string $order Sort order asc/desc (ascending or descending).
+ * @param string $order Sort order asc/desc (ascending or descending).
* @param integer $type Type of sorting to perform
* @return mixed Sorted array
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#sortByKey

0 comments on commit e7f380d

Please sign in to comment.