correct doc blocks as per cs

This commit is contained in:
euromark 2013-08-13 12:29:20 +02:00
parent 1c1701813b
commit 759c24e660
4 changed files with 13 additions and 13 deletions

View file

@ -95,7 +95,7 @@ class ConsoleErrorHandler {
/** /**
* Wrapper for exit(), used for testing. * Wrapper for exit(), used for testing.
* *
* @param int $code The exit code. * @param integer $code The exit code.
* @return void * @return void
*/ */
protected function _stop($code = 0) { protected function _stop($code = 0) {

View file

@ -39,7 +39,7 @@ class CakeBaseException extends RuntimeException {
* @param string|array $header. An array of header strings or a single header string * @param string|array $header. An array of header strings or a single header string
* - an associative array of "header name" => "header value" * - an associative array of "header name" => "header value"
* - an array of string headers is also accepted * - an array of string headers is also accepted
* @param string $value. The header value. * @param string $value The header value.
* @return array * @return array
* @see CakeResponse::header() * @see CakeResponse::header()
*/ */
@ -78,7 +78,7 @@ class BadRequestException extends HttpException {
* Constructor * Constructor
* *
* @param string $message If no message is given 'Bad Request' will be the message * @param string $message If no message is given 'Bad Request' will be the message
* @param int $code Status code, defaults to 400 * @param integer $code Status code, defaults to 400
*/ */
public function __construct($message = null, $code = 400) { public function __construct($message = null, $code = 400) {
if (empty($message)) { if (empty($message)) {
@ -100,7 +100,7 @@ class UnauthorizedException extends HttpException {
* Constructor * Constructor
* *
* @param string $message If no message is given 'Unauthorized' will be the message * @param string $message If no message is given 'Unauthorized' will be the message
* @param int $code Status code, defaults to 401 * @param integer $code Status code, defaults to 401
*/ */
public function __construct($message = null, $code = 401) { public function __construct($message = null, $code = 401) {
if (empty($message)) { if (empty($message)) {
@ -122,7 +122,7 @@ class ForbiddenException extends HttpException {
* Constructor * Constructor
* *
* @param string $message If no message is given 'Forbidden' will be the message * @param string $message If no message is given 'Forbidden' will be the message
* @param int $code Status code, defaults to 403 * @param integer $code Status code, defaults to 403
*/ */
public function __construct($message = null, $code = 403) { public function __construct($message = null, $code = 403) {
if (empty($message)) { if (empty($message)) {
@ -144,7 +144,7 @@ class NotFoundException extends HttpException {
* Constructor * Constructor
* *
* @param string $message If no message is given 'Not Found' will be the message * @param string $message If no message is given 'Not Found' will be the message
* @param int $code Status code, defaults to 404 * @param integer $code Status code, defaults to 404
*/ */
public function __construct($message = null, $code = 404) { public function __construct($message = null, $code = 404) {
if (empty($message)) { if (empty($message)) {
@ -166,7 +166,7 @@ class MethodNotAllowedException extends HttpException {
* Constructor * Constructor
* *
* @param string $message If no message is given 'Method Not Allowed' will be the message * @param string $message If no message is given 'Method Not Allowed' will be the message
* @param int $code Status code, defaults to 405 * @param integer $code Status code, defaults to 405
*/ */
public function __construct($message = null, $code = 405) { public function __construct($message = null, $code = 405) {
if (empty($message)) { if (empty($message)) {
@ -188,7 +188,7 @@ class InternalErrorException extends HttpException {
* Constructor * Constructor
* *
* @param string $message If no message is given 'Internal Server Error' will be the message * @param string $message If no message is given 'Internal Server Error' will be the message
* @param int $code Status code, defaults to 500 * @param integer $code Status code, defaults to 500
*/ */
public function __construct($message = null, $code = 500) { public function __construct($message = null, $code = 500) {
if (empty($message)) { if (empty($message)) {
@ -230,7 +230,7 @@ class CakeException extends CakeBaseException {
* *
* @param string|array $message Either the string of the error message, or an array of attributes * @param string|array $message Either the string of the error message, or an array of attributes
* that are made available in the view, and sprintf()'d into CakeException::$_messageTemplate * that are made available in the view, and sprintf()'d into CakeException::$_messageTemplate
* @param int $code The code of the error, is also the HTTP status code for the error. * @param integer $code The code of the error, is also the HTTP status code for the error.
*/ */
public function __construct($message, $code = 500) { public function __construct($message, $code = 500) {
if (is_array($message)) { if (is_array($message)) {

View file

@ -132,8 +132,8 @@ class SyslogLog extends BaseLog {
* will initialize the connection to the system logger * will initialize the connection to the system logger
* *
* @param string $ident the prefix to add to all messages logged * @param string $ident the prefix to add to all messages logged
* @param int $options the options flags to be used for logged messages * @param integer $options the options flags to be used for logged messages
* @param int $facility the stream or facility to log to * @param integer $facility the stream or facility to log to
* @return void * @return void
*/ */
protected function _open($ident, $options, $facility) { protected function _open($ident, $options, $facility) {
@ -144,7 +144,7 @@ class SyslogLog extends BaseLog {
* Extracts the call to syslog() in order to run unit tests on it. This function * Extracts the call to syslog() in order to run unit tests on it. This function
* will perform the actual write in the system logger * will perform the actual write in the system logger
* *
* @param int $priority * @param integer $priority
* @param string $message * @param string $message
* @return bool * @return bool
*/ */

View file

@ -184,7 +184,7 @@ class CakeSocket {
* *
* Instead we need to handle those errors manually. * Instead we need to handle those errors manually.
* *
* @param int $code * @param integer $code
* @param string $message * @param string $message
* @return void * @return void
*/ */