Skip to content

Commit f82476d

Browse files
committed
Add missing type hints to OriginException
1 parent 3fd247d commit f82476d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/OriginException.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,13 @@ class OriginException extends \Exception
3333
* @param string $originCall Original call which lead to the exception
3434
* @param string $originFile File in which the problem originated
3535
* @param int $originLine Line on which the problem originated
36-
* @param string $message
37-
* @param int $code
38-
* @param \Throwable|null $previous
3936
*/
4037
public function __construct(
4138
string $originCall,
4239
string $originFile,
4340
int $originLine,
44-
$message = "",
45-
$code = 0,
41+
string $message = "",
42+
int $code = 0,
4643
?\Throwable $previous = null
4744
) {
4845
parent::__construct($message, $code, $previous);

0 commit comments

Comments
 (0)