Browse Source

more typos

Anthony GRASSIOT 11 years ago
parent
commit
b4d4a9a9c1

+ 1 - 1
src/Core/Plugin.php

@@ -41,7 +41,7 @@ class Plugin {
 
 /**
  * Loads a plugin and optionally loads bootstrapping,
- * routing files or runs a initialization function.
+ * routing files or runs an initialization function.
  *
  * Plugins only need to be loaded if you want bootstrapping/routes/cli commands to
  * be exposed. If your plugin does not expose any of these features you do not need

+ 1 - 1
src/Database/Query.php

@@ -1333,7 +1333,7 @@ class Query implements ExpressionInterface, IteratorAggregate {
  * $expression = $query->newExpression('Table.column = Table2.column'); // Return a raw SQL expression
  * }}}
  *
- * @param mixed $rawExpression A string, array or anything you want wrapped in a expression object
+ * @param mixed $rawExpression A string, array or anything you want wrapped in an expression object
  * @return \Cake\Database\QueryExpression
  */
 	public function newExpr($rawExpression = null) {

+ 1 - 1
src/ORM/Association/ExternalAssociationTrait.php

@@ -19,7 +19,7 @@ use Cake\Utility\Inflector;
 
 /**
  * Represents a type of association that that needs to be recovered by performing
- * a extra query.
+ * an extra query.
  */
 trait ExternalAssociationTrait {
 

+ 1 - 1
src/View/Helper/FormHelper.php

@@ -1239,7 +1239,7 @@ class FormHelper extends Helper {
  * - `hiddenField` - boolean to indicate if you want the results of radio() to include
  *    a hidden input with a value of ''. This is useful for creating radio sets that non-continuous
  * - `disabled` - Set to `true` or `disabled` to disable all the radio buttons.
- * - `empty` - Set to `true` to create a input with the value '' as the first option. When `true`
+ * - `empty` - Set to `true` to create an input with the value '' as the first option. When `true`
  *   the radio label will be 'empty'. Set this option to a string to control the label value.
  *
  * @param string $fieldName Name of a field, like this "Modelname.fieldname"