Skip to content

Commit

Permalink
Renamed CompositeException::getExceptions to CompositeException::getT…
Browse files Browse the repository at this point in the history
…hrowables
  • Loading branch information
WyriHaximus committed May 1, 2019
1 parent 300bc60 commit d7b9f5f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Exception/CompositeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
*/
class CompositeException extends \Exception
{
private $exceptions;
private $throwables;

public function __construct(array $exceptions, $message = '', $code = 0, $previous = null)
public function __construct(array $throwables, $message = '', $code = 0, $previous = null)
{
parent::__construct($message, $code, $previous);

$this->exceptions = $exceptions;
$this->throwables = $throwables;
}

/**
* @return \Throwable[]
*/
public function getExceptions()
public function getThrowables()
{
return $this->exceptions;
return $this->throwables;
}
}

0 comments on commit d7b9f5f

Please sign in to comment.