Browse Source

Fix some typos

Michael Hoffmann 8 years ago
parent
commit
4a30af21e2

+ 1 - 1
src/Http/Client/Request.php

@@ -186,7 +186,7 @@ class Request extends Message implements RequestInterface
      * @param string $name The name of the cookie to get/set
      * @param string|null $value Either the value or null when getting values.
      * @return mixed Either $this or the cookie value.
-     * @deprected 3.5.0 No longer used. CookieCollections now add `Cookie` header to the request
+     * @deprecated 3.5.0 No longer used. CookieCollections now add `Cookie` header to the request
      *   before sending. Use Cake\Http\Cookie\CookieCollection::addToRequest() to make adding cookies
      *   to a request easier.
      */

+ 1 - 1
src/Http/Response.php

@@ -1195,7 +1195,7 @@ class Response implements ResponseInterface
      * Sets the correct headers to instruct the client to not cache the response
      *
      * @return void
-     * @deprected 3.4.0 Use withDisabledCache() instead.
+     * @deprecated 3.4.0 Use withDisabledCache() instead.
      */
     public function disableCache()
     {

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

@@ -22,7 +22,7 @@ use Cake\ORM\Association\DependentDeleteHelper;
  *
  * Included by HasOne and HasMany association classes.
  *
- * @deprected 3.5.0 Unused in CakePHP now. This class will be removed in 4.0.0
+ * @deprecated 3.5.0 Unused in CakePHP now. This class will be removed in 4.0.0
  */
 trait DependentDeleteTrait
 {

+ 1 - 1
tests/TestCase/Http/ResponseTest.php

@@ -144,7 +144,7 @@ class ResponseTest extends TestCase
     }
 
     /**
-     * Tests getCharset/withCharset methods
+     * Tests the getCharset/withCharset methods
      *
      * @return void
      */