Skip to content

Commit

Permalink
Adding pool to methods
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Jul 27, 2022
1 parent 45f6c88 commit f359103
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/mantle/http-client/class-factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* @method static \Mantle\Http_Client\Response|static patch( string $url, $data = [] )
* @method static \Mantle\Http_Client\Response|static put( string $url, array $data = [] )
* @method static \Mantle\Http_Client\Response|static delete( string $url, array $data = [] )
* @method static array pool( callable $callback )
*/
class Factory {
use Macroable {
Expand Down
2 changes: 1 addition & 1 deletion src/mantle/http-client/class-http-client.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Http_Client {
/**
* Create an instance of the Http Client
*
* @return static
* @return Factory
*/
public static function create() {
return new Factory();
Expand Down

0 comments on commit f359103

Please sign in to comment.