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/FetchAuthTokenInterface.php +3 -3 1.2.131.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 * An interface implemented by objects that can fetch auth tokens.
22 22 */
@@ -24,12 +24,12 @@
24 24 {
25 25 /**
26 26 * Fetches the auth tokens based on the current state.
27 27 *
28 - * @param callable $httpHandler callback which delivers psr7 request
28 + * @param callable|null $httpHandler callback which delivers psr7 request
29 29 * @return array<mixed> a hash of auth tokens
30 30 */
31 - public function fetchAuthToken(callable $httpHandler = null);
31 + public function fetchAuthToken(?callable $httpHandler = null);
32 32 /**
33 33 * Obtains a key that can used to cache the results of #fetchAuthToken.
34 34 *
35 35 * If the value is empty, the auth token is not cached.