Skip to content

Commit d650321

Browse files
committed
use Goutte ^4.0
1 parent 867dc58 commit d650321

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"php": "^7.4 || ^8.0",
2626
"illuminate/support": "6 - 8",
2727
"monolog/monolog": "1.24 - 2",
28-
"fabpot/goutte": "^3.2",
28+
"fabpot/goutte": "^4.0",
2929
"ext-iconv": "*",
3030
"ext-json": "*",
3131
"ext-dom": "*"

src/Exception/Exception.php

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
*/
1313
abstract class Exception extends RuntimeException
1414
{
15+
/**
16+
* @return static
17+
*/
1518
public static function fromResult(Result $result): self
1619
{
1720
$errors = implode(' ', $result->getErrors());

0 commit comments

Comments
 (0)