Skip to content

Commit 8d6abb2

Browse files
committed
Remove decision maker method
1 parent cf38fcc commit 8d6abb2

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Exception/BatchException.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,4 @@ public function getResult()
3131
{
3232
return $this->result;
3333
}
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-
}
5034
}

0 commit comments

Comments
 (0)