@@ -193,7 +193,7 @@ |
||
| 193 | 193 | $field = SCT::toHyphen($field); |
| 194 | 194 | $this->filters = array_filter( |
| 195 | 195 | $this->filters, |
| 196 | - function ($filter) use ($field) { |
|
| 196 | + function($filter) use ($field) { |
|
| 197 | 197 | return mb_strpos($filter, $field) === false; |
| 198 | 198 | }, |
| 199 | 199 | ARRAY_FILTER_USE_KEY |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | { |
| 44 | 44 | $term = preg_replace_callback( |
| 45 | 45 | '/[\s_-](\w)/', |
| 46 | - function ($matches) { |
|
| 46 | + function($matches) { |
|
| 47 | 47 | return mb_strtoupper($matches[1]); |
| 48 | 48 | }, |
| 49 | 49 | $term |
@@ -37,26 +37,26 @@ discard block |
||
| 37 | 37 | $config = $this->getAdobeConfig(); |
| 38 | 38 | $entities = $config["entities"]; |
| 39 | 39 | |
| 40 | - $this->app->singleton(Client::class, function () { |
|
| 40 | + $this->app->singleton(Client::class, function() { |
|
| 41 | 41 | return $this->processClient(); |
| 42 | 42 | }); |
| 43 | 43 | |
| 44 | - $this->app->bind('sco', function () use ($entities) { |
|
| 44 | + $this->app->bind('sco', function() use ($entities) { |
|
| 45 | 45 | return new $entities["sco"](); |
| 46 | 46 | }); |
| 47 | - $this->app->bind('sco-record', function () use ($entities) { |
|
| 47 | + $this->app->bind('sco-record', function() use ($entities) { |
|
| 48 | 48 | return new $entities["sco-record"](); |
| 49 | 49 | }); |
| 50 | - $this->app->bind('principal', function () use ($entities) { |
|
| 50 | + $this->app->bind('principal', function() use ($entities) { |
|
| 51 | 51 | return new $entities["principal"](); |
| 52 | 52 | }); |
| 53 | - $this->app->bind('permission', function () use ($entities) { |
|
| 53 | + $this->app->bind('permission', function() use ($entities) { |
|
| 54 | 54 | return new $entities["permission"](); |
| 55 | 55 | }); |
| 56 | - $this->app->bind('common-info', function () use ($entities) { |
|
| 56 | + $this->app->bind('common-info', function() use ($entities) { |
|
| 57 | 57 | return new $entities["common-info"](); |
| 58 | 58 | }); |
| 59 | - $this->app->singleton('adobe-connect', function () { |
|
| 59 | + $this->app->singleton('adobe-connect', function() { |
|
| 60 | 60 | return App::make(Client::class); |
| 61 | 61 | }); |
| 62 | 62 | |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | $session = Cache::store($driver)->remember( |
| 107 | 107 | $config['session-cache']['key'], |
| 108 | 108 | $config['session-cache']['timeout'], |
| 109 | - function () use ($config, $client) { |
|
| 109 | + function() use ($config, $client) { |
|
| 110 | 110 | $client->login($config["user-name"], $config["password"]); |
| 111 | 111 | return $client->getSession(); |
| 112 | 112 | }); |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | * false = application will not save session info and you have to login manually each time you want to |
| 76 | 76 | * use adobe connect client. |
| 77 | 77 | */ |
| 78 | - 'enabled' => env("ADOBE_CONNECT_CACHE_ENABLED",true), |
|
| 78 | + 'enabled' => env("ADOBE_CONNECT_CACHE_ENABLED", true), |
|
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | 81 | * ------------------- |