Browse files

Update some grammar in Controller

  • Loading branch information...
1 parent 01be15d commit 49bb441cefa648f2f20587fe6dd854ac66ac21e1 @bcrowe bcrowe committed Dec 30, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Cake/Controller/Controller.php
View
8 lib/Cake/Controller/Controller.php
@@ -29,7 +29,7 @@
*
* Controllers should provide a number of 'action' methods. These are public methods on the controller
* that are not prefixed with a '_' and not part of Controller. Each action serves as an endpoint for
- * performing a specific action on a resource or collection of resources. For example adding or editing a new
+ * performing a specific action on a resource or collection of resources. For example: adding or editing a new
* object, or listing a set of objects.
*
* You can access request parameters, using `$this->request`. The request object contains all the POST, GET and FILES
@@ -259,7 +259,7 @@ class Controller extends Object implements CakeEventListener {
/**
* Holds current methods of the controller. This is a list of all the methods reachable
- * via URL. Modifying this array, will allow you to change which methods can be reached.
+ * via URL. Modifying this array will allow you to change which methods can be reached.
*
* @var array
*/
@@ -285,7 +285,7 @@ class Controller extends Object implements CakeEventListener {
public $modelKey = null;
/**
- * Holds any validation errors produced by the last call of the validateErrors() method/
+ * Holds any validation errors produced by the last call of the validateErrors() method.
*
* @var array Validation errors, or false if none
*/
@@ -610,7 +610,7 @@ protected function _mergeUses($merge) {
}
/**
- * Returns a list of all events that will fire in the controller during it's lifecycle.
+ * Returns a list of all events that will fire in the controller during its lifecycle.
* You can override this function to add you own listener callbacks
*
* @return array

0 comments on commit 49bb441

Please sign in to comment.