8000 Fix FlattenException::setPrevious argument typing · symfony/symfony@21ec2b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 21ec2b8

Browse files
committed
Fix FlattenException::setPrevious argument typing
1 parent ae71116 commit 21ec2b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/ErrorHandler/Exception/FlattenException.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public function getPrevious(): ?self
261261
/**
262262
* @return $this
263263
*/
264-
public function setPrevious(self $previous): self
264+
public function setPrevious(?self $previous): self
265265
{
266266
$this->previous = $previous;
267267

@@ -298,7 +298,6 @@ public function setTraceFromThrowable(\Throwable $throwable): self
298298
}
299299

300300
/**
301-
*
302301
* @return $this
303302
*/
304303
public function setTrace(array $trace, ?string $file, ?int $line): self

0 commit comments

Comments
 (0)
0