Skip to content

Commit

Permalink
Merge pull request #2 from alkallio/ak-minor_annotation_fixes
Browse files Browse the repository at this point in the history
Fix incorrect type in RequestException
  • Loading branch information
nohponex authored Sep 11, 2017
2 parents dd39e83 + 1143fea commit 57aba84
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ composer.lock
npm-debug.log
build/
localsettings.php
.idea
1 change: 0 additions & 1 deletion src/IncorrectParametersException.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class IncorrectParametersException extends \Exception
private $parameters;

/**
*
* @param array $parameters Array with the names of incorrect parameters
*/
public function __construct($parameters)
Expand Down
1 change: 0 additions & 1 deletion src/MissingParametersException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class MissingParametersException extends \Exception
private $parameters;

/**
*
* @param array $parameters Array with the names of missing parameters
*/
public function __construct($parameters)
Expand Down
3 changes: 1 addition & 2 deletions src/PermissionException.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ class PermissionException extends \Exception
private $return;

/**
*
* @param string $message \Exception message
* @param string $return Return url. Optional, default is FALSE.
* @param bool $return Return url. Optional, default is FALSE.
*/
public function __construct($message, $return = false)
{
Expand Down
3 changes: 1 addition & 2 deletions src/RequestException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
class RequestException extends \Exception
{
/**
*
* @param array $message \Exception message
* @param string $message \Exception message
* @param integer $code Error code, Optional default 400
*/
public function __construct($message, $code = 400)
Expand Down
3 changes: 1 addition & 2 deletions src/UnauthorizedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ class UnauthorizedException extends \Exception
private $return;

/**
*
* @param string $message \Exception message
* @param string $return Return url. Optional, default is FALSE.
* @param bool $return Return url. Optional, default is FALSE.
*/
public function __construct($message = 'Unauthorized', $return = false)
{
Expand Down

0 comments on commit 57aba84

Please sign in to comment.