Skip to content

Commit 00f9bd2

Browse files
committed
delete type hint for the getViolations() method
1 parent 659b351 commit 00f9bd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Exception/BadRequestException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ class BadRequestException extends Exception
2020
/**
2121
* Gets violations
2222
*
23-
* @return array
23+
* @return mixed
2424
*/
25-
public function getViolations() : array
25+
public function getViolations()
2626
{
2727
return $this->fromContext('violations', []);
2828
}

0 commit comments

Comments
 (0)