mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-25 02:22:57 +01:00
Using late static binding for the service builder factory method. Closes #40
This commit is contained in:
parent
f57169a2d6
commit
e9fa0907bb
@ -85,7 +85,7 @@ class ServiceBuilder implements \ArrayAccess
|
||||
$client['class'] = str_replace('.', '\\', $client['class']);
|
||||
}
|
||||
|
||||
return new self($config);
|
||||
return new static($config);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user