← All changes
|
includes/sdk/google/google/gax/src/InsecureCredentialsWrapper.php
+4
-3
1.2.4
→
1.4.2
View file →
| @@ -29,12 +29,13 @@ | ||
| 29 | 29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 30 | 30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 31 | 31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 | 32 | */ |
| 33 | -namespace Dudlewebs\WPMCS\Google\ApiCore; | |
| 33 | +namespace Dudlewebs\WPMCS\GCP\Google\ApiCore; | |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * For connect to emulator. |
| 37 | + * @TODO: implement HeaderCredentialsInterface instead of extending CredentialsWrapper | |
| 37 | 38 | */ |
| 38 | 39 | class InsecureCredentialsWrapper extends CredentialsWrapper |
| 39 | 40 | { |
| 40 | 41 | public function __construct() |
| @@ -43,12 +44,12 @@ | ||
| 43 | 44 | /** |
| 44 | 45 | * @param string $audience |
| 45 | 46 | * @return callable|null Returns null so the gRPC can accept it as an insecure channel. |
| 46 | 47 | */ |
| 47 | - public function getAuthorizationHeaderCallback($audience = null): ?callable | |
| 48 | + public function getAuthorizationHeaderCallback($audience = null) : ?callable | |
| 48 | 49 | { |
| 49 | 50 | return null; |
| 50 | 51 | } |
| 51 | - public function checkUniverseDomain(): void | |
| 52 | + public function checkUniverseDomain() : void | |
| 52 | 53 | { |
| 53 | 54 | } |
| 54 | 55 | } |