Skip to content

Commit 4466175

Browse files
authored
Merge pull request #140 from Sammyjo20/feature/v2-beta-improvements-fix
Feature | V2 Beta Improvements
2 parents df1ce97 + d722ae8 commit 4466175

File tree

7 files changed

+3
-39
lines changed

7 files changed

+3
-39
lines changed
File renamed without changes.

.github/LICENSE.md renamed to LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Sam Carré
3+
Copyright (c) 2023 Sam Carré
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

src/Helpers/StateHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class StateHelper
1010
* Generate a random string for the state.
1111
*
1212
* @return string
13+
* @throws \Exception
1314
*/
1415
public static function createRandomState(): string
1516
{

src/Http/Connector.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Saloon\Traits\HasMockClient;
1111
use Saloon\Traits\Connector\HasPool;
1212
use Saloon\Traits\HandlesExceptions;
13-
use Saloon\Traits\Request\BuildsUrls;
1413
use Saloon\Traits\Connector\HasSender;
1514
use Saloon\Traits\Connector\SendsRequests;
1615
use Saloon\Traits\Auth\AuthenticatesRequests;
@@ -29,7 +28,6 @@ abstract class Connector implements ConnectorContract
2928
use HasMockClient;
3029
use SendsRequests;
3130
use Conditionable;
32-
use BuildsUrls;
3331
use HasSender;
3432
use Bootable;
3533
use Makeable;

src/Traits/Connector/HasPool.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
namespace Saloon\Traits\Connector;
66

77
use Saloon\Http\Pool;
8-
use Saloon\Exceptions\SaloonException;
98
use Saloon\Contracts\Pool as PoolContract;
10-
use Saloon\Exceptions\InvalidPoolItemException;
119

1210
trait HasPool
1311
{
@@ -18,10 +16,7 @@ trait HasPool
1816
* @param int|callable $concurrency
1917
* @param callable|null $responseHandler
2018
* @param callable|null $exceptionHandler
21-
* @return Pool
22-
* @throws \ReflectionException
23-
* @throws InvalidPoolItemException
24-
* @throws SaloonException
19+
* @return \Saloon\Contracts\Pool
2520
*/
2621
public function pool(iterable|callable $requests = [], int|callable $concurrency = 5, callable|null $responseHandler = null, callable|null $exceptionHandler = null): PoolContract
2722
{

src/Traits/Plugins/AcceptsXml.php

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/Traits/Request/BuildsUrls.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)