Completed
Pull Request — master (#1)
by CloudyCity
01:26
created
src/Kernel/BaseClient.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -418,8 +418,8 @@  discard block
 block discarded – undo
418 418
      */
419 419
     protected function accessTokenMiddleware()
420 420
     {
421
-        return function ($handler) {
422
-            return function ($request, $options) use ($handler) {
421
+        return function($handler) {
422
+            return function($request, $options) use ($handler) {
423 423
                 $option['query']['access_token'] = $this->getAccessToken();
424 424
                 $option['query']['timestamp'] = time();
425 425
                 $option['query']['nonce'] = Support\generate_nonce();
@@ -436,8 +436,8 @@  discard block
 block discarded – undo
436 436
      */
437 437
     protected function advertiserIdMiddleware()
438 438
     {
439
-        return function ($handler) {
440
-            return function ($request, $options) use ($handler) {
439
+        return function($handler) {
440
+            return function($request, $options) use ($handler) {
441 441
                 $option['form_params']['account_id'] = $this->getAdvertiserId();
442 442
 
443 443
                 return $handler($request, $options);
Please login to merge, or discard this patch.