Browse Source

fix some typos and links

antograssiot 10 years ago
parent
commit
7027bc6b21

+ 2 - 2
src/Database/README.md

@@ -345,7 +345,7 @@ SELECT CONCAT(title, :c0) ...;
 
 ### Other SQL Clauses
 
-Read of all other SQL clases that the builder is capable of generating in the [official API docs](http://api.cakephp.org/3.0/class-Cake.Database.Query.html)
+Read of all other SQL clauses that the builder is capable of generating in the [official API docs](http://api.cakephp.org/3.2/class-Cake.Database.Query.html)
 
 ### Getting Results out of a Query
 
@@ -363,5 +363,5 @@ $results = $query->execute()->fetchAll('assoc');
 
 ## Official API
 
-You can read the official [official API docs](http://api.cakephp.org/3.0/namespace-Cake.Database.html) to learn more of what this library
+You can read the official [official API docs](http://api.cakephp.org/3.2/namespace-Cake.Database.html) to learn more of what this library
 has to offer.

+ 1 - 1
src/Datasource/README.md

@@ -79,4 +79,4 @@ $conn = ConnectionManager::config('other', $connectionInstance);
 
 ## Documentation
 
-Please make sure you check the [official API documentation](http://api.cakephp.org/3.0/namespace-Cake.Datasource.html)
+Please make sure you check the [official API documentation](http://api.cakephp.org/3.2/namespace-Cake.Datasource.html)

+ 1 - 1
src/Network/Response.php

@@ -1348,7 +1348,7 @@ class Response
      * cors($request, ['http://www.cakephp.org', '*.google.com', 'https://myproject.github.io']);
      * ```
      *
-     * *Note* The `$allowedDomains`, `$allowedMethods`, `$allowedHeaders` parameters are deprectated.
+     * *Note* The `$allowedDomains`, `$allowedMethods`, `$allowedHeaders` parameters are deprecated.
      * Instead the builder object should be used.
      *
      * @param \Cake\Network\Request $request Request object

+ 1 - 1
src/ORM/LazyEagerLoader.php

@@ -61,7 +61,7 @@ class LazyEagerLoader
      * Builds a query for loading the passed list of entity objects along with the
      * associations specified in $contain.
      *
-     * @param \Cake\Collection\CollectionInterface $objects The original entitites
+     * @param \Cake\Collection\CollectionInterface $objects The original entities
      * @param array $contain The associations to be loaded
      * @param \Cake\ORM\Table $source The table to use for fetching the top level entities
      * @return \Cake\ORM\Query

+ 1 - 1
src/Utility/Hash.php

@@ -782,7 +782,7 @@ class Hash
      * Counts the dimensions of an array.
      * Only considers the dimension of the first element in the array.
      *
-     * If you have an un-even or heterogenous array, consider using Hash::maxDimensions()
+     * If you have an un-even or heterogeneous array, consider using Hash::maxDimensions()
      * to get the dimensions of the array.
      *
      * @param array $data Array to count dimensions on

+ 39 - 39
src/Validation/Validator.php

@@ -542,7 +542,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::notBlank()
      * @return $this
      */
@@ -560,7 +560,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::alphaNumeric()
      * @return $this
      */
@@ -579,7 +579,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param array $range The inclusive minimum and maximum length you want permitted.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::alphaNumeric()
      * @return $this
      */
@@ -602,7 +602,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      *   You can also supply an array of accepted card types. e.g `['mastercard', 'visa', 'amex']`
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::cc()
      * @return $this
      */
@@ -621,7 +621,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param int|float $value The value user data must be greater than.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
@@ -640,7 +640,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param int|float $value The value user data must be greater than or equal to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
@@ -659,7 +659,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param int|float $value The value user data must be less than.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
@@ -678,7 +678,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param int|float $value The value user data must be less than or equal to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
@@ -697,7 +697,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param int|float $value The value user data must be equal to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
@@ -716,7 +716,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param int|float $value The value user data must be not be equal to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::comparison()
      * @return $this
      */
@@ -737,7 +737,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param mixed $secondField The field you want to compare against.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::compareWith()
      * @return $this
      */
@@ -756,7 +756,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param int $limit The minimum number of non-alphanumeric fields required.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::containsNonAlphaNumeric()
      * @return $this
      */
@@ -775,7 +775,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param array $formats A list of accepted date formats.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::date()
      * @return $this
      */
@@ -794,7 +794,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param array $formats A list of accepted date formats.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::datetime()
      * @return $this
      */
@@ -812,7 +812,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::time()
      * @return $this
      */
@@ -830,7 +830,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::boolean()
      * @return $this
      */
@@ -849,7 +849,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param int $places The number of decimal places to require.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::decimal()
      * @return $this
      */
@@ -868,7 +868,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param bool $checkMX Whether or not to check the MX records.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::email()
      * @return $this
      */
@@ -888,7 +888,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::ip()
      * @return $this
      */
@@ -906,7 +906,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::ip()
      * @return $this
      */
@@ -924,7 +924,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::ip()
      * @return $this
      */
@@ -943,7 +943,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param int $min The minimum length required.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::minLength()
      * @return $this
      */
@@ -962,7 +962,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param int $max The maximum length allowed.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::maxLength()
      * @return $this
      */
@@ -980,7 +980,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::numeric()
      * @return $this
      */
@@ -998,7 +998,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::naturalNumber()
      * @return $this
      */
@@ -1016,7 +1016,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::naturalNumber()
      * @return $this
      */
@@ -1035,7 +1035,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param array $range The inclusive upper and lower bounds of the valid range.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::range()
      * @return $this
      */
@@ -1058,7 +1058,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::url()
      * @return $this
      */
@@ -1078,7 +1078,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::url()
      * @return $this
      */
@@ -1097,7 +1097,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param array $list The list of valid options.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::inList()
      * @return $this
      */
@@ -1115,7 +1115,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::uuid()
      * @return $this
      */
@@ -1136,7 +1136,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param array $options An array of options.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::uploadedFile()
      * @return $this
      */
@@ -1156,7 +1156,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::uuid()
      * @return $this
      */
@@ -1174,7 +1174,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::latitude()
      * @return $this
      */
@@ -1192,7 +1192,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::longitude()
      * @return $this
      */
@@ -1210,7 +1210,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::ascii()
      * @return $this
      */
@@ -1228,7 +1228,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::utf8()
      * @return $this
      */
@@ -1248,7 +1248,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::utf8()
      * @return $this
      */
@@ -1266,7 +1266,7 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
      * @param string $field The field you want to apply the rule to.
      * @param string $message The error message when the rule fails.
      * @param string|callable $when Either 'create' or 'update' or a callable that returns
-     *   true when the valdiation rule should be applied.
+     *   true when the validation rule should be applied.
      * @see \Cake\Validation\Validation::isInteger()
      * @return $this
      */