← All changes
|
includes/sdk/google/google/auth/src/HttpHandler/HttpClientCache.php
+3
-3
1.2.7
→
1.4.1
View file →
| @@ -14,11 +14,11 @@ | ||
| 14 | 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | 15 | * See the License for the specific language governing permissions and |
| 16 | 16 | * limitations under the License. |
| 17 | 17 | */ |
| 18 | -namespace Dudlewebs\WPMCS\Google\Auth\HttpHandler; | |
| 18 | +namespace Dudlewebs\WPMCS\GCP\Google\Auth\HttpHandler; | |
| 19 | 19 | |
| 20 | -use Dudlewebs\WPMCS\GuzzleHttp\ClientInterface; | |
| 20 | +use Dudlewebs\WPMCS\GCP\GuzzleHttp\ClientInterface; | |
| 21 | 21 | /** |
| 22 | 22 | * Stores an HTTP Client in order to prevent multiple instantiations. |
| 23 | 23 | */ |
| 24 | 24 | class HttpClientCache |
| @@ -34,9 +34,9 @@ | ||
| 34 | 34 | * |
| 35 | 35 | * @param ClientInterface|null $client |
| 36 | 36 | * @return void |
| 37 | 37 | */ |
| 38 | - public static function setHttpClient(ClientInterface $client = null) | |
| 38 | + public static function setHttpClient(?ClientInterface $client = null) | |
| 39 | 39 | { |
| 40 | 40 | self::$httpClient = $client; |
| 41 | 41 | } |
| 42 | 42 | /** |