Skip to content

Commit

Permalink
Try to make same comments for constructors.
Browse files Browse the repository at this point in the history
Conflicts:
	lib/Cake/I18n/L10n.php
  • Loading branch information
kimegede committed Nov 11, 2013
1 parent 9d18a5d commit f0205f5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/Cake/Controller/CakeErrorController.php
Expand Up @@ -39,7 +39,7 @@ class CakeErrorController extends AppController {
public $uses = array();

/**
* __construct
* Constructor
*
* @param CakeRequest $request
* @param CakeResponse $response
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Core/Object.php
Expand Up @@ -31,7 +31,7 @@
class Object {

/**
* constructor, no-op
* Constructor, no-op
*
*/
public function __construct() {
Expand Down
1 change: 1 addition & 0 deletions lib/Cake/I18n/L10n.php
Expand Up @@ -327,6 +327,7 @@ class L10n {

/**
* Class constructor
*
*/
public function __construct() {
if (defined('DEFAULT_LANGUAGE')) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Log/Engine/BaseLog.php
Expand Up @@ -35,7 +35,7 @@ abstract class BaseLog implements CakeLogInterface {
protected $_config = array();

/**
* __construct method
* Constructor
*
* @param array $config Configuration array
*/
Expand Down
14 changes: 7 additions & 7 deletions lib/Cake/Network/CakeResponse.php
Expand Up @@ -376,7 +376,7 @@ class CakeResponse {
protected $_cookies = array();

/**
* Class constructor
* Constructor
*
* @param array $options list of parameters to setup the response. Possible values are:
* - body: the response text that should be sent to the client
Expand Down Expand Up @@ -630,12 +630,12 @@ public function statusCode($code = null) {
/**
* Queries & sets valid HTTP response codes & messages.
*
* @param integer|array $code If $code is an integer, then the corresponding code/message is
* returned if it exists, null if it does not exist. If $code is an array, then the
* keys are used as codes and the values as messages to add to the default HTTP
* codes. The codes must be integers greater than 99 and less than 1000. Keep in
* mind that the HTTP specification outlines that status codes begin with a digit
* between 1 and 5, which defines the class of response the client is to expect.
* @param integer|array $code If $code is an integer, then the corresponding code/message is
* returned if it exists, null if it does not exist. If $code is an array, then the
* keys are used as codes and the values as messages to add to the default HTTP
* codes. The codes must be integers greater than 99 and less than 1000. Keep in
* mind that the HTTP specification outlines that status codes begin with a digit
* between 1 and 5, which defines the class of response the client is to expect.
* Example:
*
* httpCodes(404); // returns array(404 => 'Not Found')
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
Expand Up @@ -77,7 +77,7 @@ class CakeTestSuiteDispatcher {
protected static $_Reporter = null;

/**
* constructor
* Constructor
*
*/
public function __construct() {
Expand Down

0 comments on commit f0205f5

Please sign in to comment.