PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/google/google/auth/src/Credentials/InsecureCredentials.php +4 -4 1.2.131.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\Credentials;
18 +namespace Dudlewebs\WPMCS\GCP\Google\Auth\Credentials;
19 19
20 -use Dudlewebs\WPMCS\Google\Auth\FetchAuthTokenInterface;
20 +use Dudlewebs\WPMCS\GCP\Google\Auth\FetchAuthTokenInterface;
21 21 /**
22 22 * Provides a set of credentials that will always return an empty access token.
23 23 * This is useful for APIs which do not require authentication, for local
24 24 * service emulators, and for testing.
@@ -31,12 +31,12 @@
31 31 private $token = ['access_token' => ''];
32 32 /**
33 33 * Fetches the auth token. In this case it returns an empty string.
34 34 *
35 - * @param callable $httpHandler
35 + * @param callable|null $httpHandler
36 36 * @return array{access_token:string} A set of auth related metadata
37 37 */
38 - public function fetchAuthToken(callable $httpHandler = null)
38 + public function fetchAuthToken(?callable $httpHandler = null)
39 39 {
40 40 return $this->token;
41 41 }
42 42 /**