Skip to content

Commit

Permalink
fixed docblock, fixed code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ionas committed Dec 31, 2015
1 parent 2d55212 commit 07beb0a
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/Network/Exception/BadRequestException.php
Expand Up @@ -22,7 +22,7 @@ class BadRequestException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Bad Request' will be the message
* @param string|null $message If no message is given 'Bad Request' will be the message
* @param int $code Status code, defaults to 400
*/
public function __construct($message = null, $code = 400)
Expand Down
3 changes: 1 addition & 2 deletions src/Network/Exception/ConflictException.php
Expand Up @@ -10,7 +10,6 @@
* @since 3.1.7
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/

namespace Cake\Network\Exception;

/**
Expand All @@ -23,7 +22,7 @@ class ConflictException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Conflict' will be the message
* @param string|null $message If no message is given 'Conflict' will be the message
* @param int $code Status code, defaults to 409
*/
public function __construct($message = null, $code = 409)
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Exception/ForbiddenException.php
Expand Up @@ -22,7 +22,7 @@ class ForbiddenException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Forbidden' will be the message
* @param string|null $message If no message is given 'Forbidden' will be the message
* @param int $code Status code, defaults to 403
*/
public function __construct($message = null, $code = 403)
Expand Down
3 changes: 1 addition & 2 deletions src/Network/Exception/GoneException.php
Expand Up @@ -10,7 +10,6 @@
* @since 3.1.7
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/

namespace Cake\Network\Exception;

/**
Expand All @@ -23,7 +22,7 @@ class GoneException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Gone' will be the message
* @param string|null $message If no message is given 'Gone' will be the message
* @param int $code Status code, defaults to 410
*/
public function __construct($message = null, $code = 410)
Expand Down
3 changes: 1 addition & 2 deletions src/Network/Exception/InternalErrorException.php
Expand Up @@ -10,7 +10,6 @@
* @since 3.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/

namespace Cake\Network\Exception;

/**
Expand All @@ -23,7 +22,7 @@ class InternalErrorException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Internal Server Error' will be the message
* @param string|null $message If no message is given 'Internal Server Error' will be the message
* @param int $code Status code, defaults to 500
*/
public function __construct($message = null, $code = 500)
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Exception/InvalidCsrfTokenException.php
Expand Up @@ -22,7 +22,7 @@ class InvalidCsrfTokenException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Invalid CSRF Token' will be the message
* @param string|null $message If no message is given 'Invalid CSRF Token' will be the message
* @param int $code Status code, defaults to 403
*/
public function __construct($message = null, $code = 403)
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Exception/MethodNotAllowedException.php
Expand Up @@ -22,7 +22,7 @@ class MethodNotAllowedException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Method Not Allowed' will be the message
* @param string|null $message If no message is given 'Method Not Allowed' will be the message
* @param int $code Status code, defaults to 405
*/
public function __construct($message = null, $code = 405)
Expand Down
3 changes: 1 addition & 2 deletions src/Network/Exception/NotAcceptableException.php
Expand Up @@ -10,7 +10,6 @@
* @since 3.1.7
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/

namespace Cake\Network\Exception;

/**
Expand All @@ -23,7 +22,7 @@ class NotAcceptableException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Not Acceptable' will be the message
* @param string|null $message If no message is given 'Not Acceptable' will be the message
* @param int $code Status code, defaults to 406
*/
public function __construct($message = null, $code = 406)
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Exception/NotFoundException.php
Expand Up @@ -22,7 +22,7 @@ class NotFoundException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Not Found' will be the message
* @param string|null $message If no message is given 'Not Found' will be the message
* @param int $code Status code, defaults to 404
*/
public function __construct($message = null, $code = 404)
Expand Down
3 changes: 1 addition & 2 deletions src/Network/Exception/ServiceUnavailableException.php
Expand Up @@ -10,7 +10,6 @@
* @since 3.1.7
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/

namespace Cake\Network\Exception;

/**
Expand All @@ -23,7 +22,7 @@ class ServiceUnavailableException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Service Unavailable' will be the message
* @param string|null $message If no message is given 'Service Unavailable' will be the message
* @param int $code Status code, defaults to 503
*/
public function __construct($message = null, $code = 503)
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Exception/UnauthorizedException.php
Expand Up @@ -22,7 +22,7 @@ class UnauthorizedException extends HttpException
/**
* Constructor
*
* @param string $message If no message is given 'Unauthorized' will be the message
* @param string|null $message If no message is given 'Unauthorized' will be the message
* @param int $code Status code, defaults to 401
*/
public function __construct($message = null, $code = 401)
Expand Down

0 comments on commit 07beb0a

Please sign in to comment.