refactor: rename param to match type

This commit is contained in:
HDVinnie
2020-09-04 13:33:20 -04:00
parent ecf0d9ac08
commit 99fd793d3d
4 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -74,9 +74,9 @@ class TrackerException extends \Exception
*
* @param int $code
* @param array|null $replace
* @param \Throwable|null $previous
* @param \Throwable|null $throwable
*/
public function __construct(int $code = 999, array $replace = null, Throwable $previous = null)
public function __construct(int $code = 999, array $replace = null, Throwable $throwable = null)
{
$message = self::ERROR_MSG[$code];
if ($replace) {
@@ -85,6 +85,6 @@ class TrackerException extends \Exception
}
}
parent::__construct($message, $code, $previous);
parent::__construct($message, $code, $throwable);
}
}