@@ -22,11 +22,11 @@ |
||
22 | 22 | */ |
23 | 23 | public function register(Container $pimple) |
24 | 24 | { |
25 | - $pimple['oauth'] = function ($pimple) { |
|
25 | + $pimple['oauth'] = function($pimple) { |
|
26 | 26 | return new Oauth($pimple['access_token']); |
27 | 27 | }; |
28 | 28 | |
29 | - $pimple['auth'] = function ($pimple) { |
|
29 | + $pimple['auth'] = function($pimple) { |
|
30 | 30 | return new Authentication($pimple['access_token']); |
31 | 31 | }; |
32 | 32 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function register(Container $pimple) |
23 | 23 | { |
24 | - $pimple['menu'] = function ($pimple) { |
|
24 | + $pimple['menu'] = function($pimple) { |
|
25 | 25 | return new Menu($pimple['access_token']); |
26 | 26 | }; |
27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function register(Container $pimple) |
23 | 23 | { |
24 | - $pimple['staff'] = function ($pimple) { |
|
24 | + $pimple['staff'] = function($pimple) { |
|
25 | 25 | return new Staff($pimple['access_token']); |
26 | 26 | }; |
27 | 27 | } |
@@ -23,15 +23,15 @@ |
||
23 | 23 | */ |
24 | 24 | public function register(Container $pimple) |
25 | 25 | { |
26 | - $pimple['user'] = function ($pimple) { |
|
26 | + $pimple['user'] = function($pimple) { |
|
27 | 27 | return new User($pimple['access_token']); |
28 | 28 | }; |
29 | 29 | |
30 | - $department = function ($pimple) { |
|
30 | + $department = function($pimple) { |
|
31 | 31 | return new Department($pimple['access_token']); |
32 | 32 | }; |
33 | 33 | |
34 | - $tag = function ($pimple) { |
|
34 | + $tag = function($pimple) { |
|
35 | 35 | return new Tag($pimple['access_token']); |
36 | 36 | }; |
37 | 37 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function register(Container $pimple) |
23 | 23 | { |
24 | - $pimple['agent'] = function ($pimple) { |
|
24 | + $pimple['agent'] = function($pimple) { |
|
25 | 25 | return new Agent($pimple['access_token']); |
26 | 26 | }; |
27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function register(Container $pimple) |
23 | 23 | { |
24 | - $pimple['broadcast'] = function ($pimple) { |
|
24 | + $pimple['broadcast'] = function($pimple) { |
|
25 | 25 | return new Broadcast($pimple['access_token']); |
26 | 26 | }; |
27 | 27 | } |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | */ |
23 | 23 | public function register(Container $pimple) |
24 | 24 | { |
25 | - $pimple['encryptor'] = function ($pimple) { |
|
25 | + $pimple['encryptor'] = function($pimple) { |
|
26 | 26 | return new Encryptor( |
27 | 27 | $pimple['config']['corp_id'], |
28 | 28 | $pimple['config']['token'], |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | ); |
31 | 31 | }; |
32 | 32 | |
33 | - $pimple['server'] = function ($pimple) { |
|
33 | + $pimple['server'] = function($pimple) { |
|
34 | 34 | $server = new Guard($pimple['config']['token']); |
35 | 35 | |
36 | 36 | $server->debug($pimple['config']['debug']); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function register(Container $pimple) |
23 | 23 | { |
24 | - $pimple['soter'] = function ($pimple) { |
|
24 | + $pimple['soter'] = function($pimple) { |
|
25 | 25 | return new Soter($pimple['access_token']); |
26 | 26 | }; |
27 | 27 | } |
@@ -22,11 +22,11 @@ |
||
22 | 22 | */ |
23 | 23 | public function register(Container $pimple) |
24 | 24 | { |
25 | - $pimple['material'] = function ($pimple) { |
|
25 | + $pimple['material'] = function($pimple) { |
|
26 | 26 | return new Material($pimple['access_token']); |
27 | 27 | }; |
28 | 28 | |
29 | - $temporary = function ($pimple) { |
|
29 | + $temporary = function($pimple) { |
|
30 | 30 | return new Temporary($pimple['access_token']); |
31 | 31 | }; |
32 | 32 |