← All changes
|
includes/sdk/google/google/auth/src/UpdateMetadataInterface.php
+3
-3
1.2.13
→
1.4.1
View file →
| @@ -14,9 +14,9 @@ | ||
| 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; | |
| 18 | +namespace Dudlewebs\WPMCS\GCP\Google\Auth; | |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Describes a Credentials object which supports updating request metadata |
| 22 | 22 | * (request headers). |
| @@ -28,9 +28,9 @@ | ||
| 28 | 28 | * Updates metadata with the authorization token. |
| 29 | 29 | * |
| 30 | 30 | * @param array<mixed> $metadata metadata hashmap |
| 31 | 31 | * @param string $authUri optional auth uri |
| 32 | - * @param callable $httpHandler callback which delivers psr7 request | |
| 32 | + * @param callable|null $httpHandler callback which delivers psr7 request | |
| 33 | 33 | * @return array<mixed> updated metadata hashmap |
| 34 | 34 | */ |
| 35 | - public function updateMetadata($metadata, $authUri = null, callable $httpHandler = null); | |
| 35 | + public function updateMetadata($metadata, $authUri = null, ?callable $httpHandler = null); | |
| 36 | 36 | } |