We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf38fcc commit 8d6abb2Copy full SHA for 8d6abb2
src/Exception/BatchException.php
@@ -31,20 +31,4 @@ public function getResult()
31
{
32
return $this->result;
33
}
34
-
35
- /**
36
- * Decides whether the result has any failures
37
- *
38
- * @param BatchResult $result
39
40
- * @return BatchResult|BatchException
41
- */
42
- public static function decideReturnValue(BatchResult $result)
43
- {
44
- if ($result->hasExceptions()) {
45
- return new self($result);
46
- }
47
48
- return $result;
49
50
0 commit comments