@@ -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 |
@@ -34,26 +34,26 @@ |
||
| 34 | 34 | $config = $this->getAdobeConfig(); |
| 35 | 35 | $entities = $config["entities"]; |
| 36 | 36 | |
| 37 | - $this->app->singleton(Client::class, function () { |
|
| 37 | + $this->app->singleton(Client::class, function() { |
|
| 38 | 38 | return $this->processClient(); |
| 39 | 39 | }); |
| 40 | 40 | |
| 41 | - $this->app->bind('sco', function () use ($entities) { |
|
| 41 | + $this->app->bind('sco', function() use ($entities) { |
|
| 42 | 42 | return new $entities["sco"](); |
| 43 | 43 | }); |
| 44 | - $this->app->bind('sco-record', function () use ($entities) { |
|
| 44 | + $this->app->bind('sco-record', function() use ($entities) { |
|
| 45 | 45 | return new $entities["sco-record"](); |
| 46 | 46 | }); |
| 47 | - $this->app->bind('principal', function () use ($entities) { |
|
| 47 | + $this->app->bind('principal', function() use ($entities) { |
|
| 48 | 48 | return new $entities["principal"](); |
| 49 | 49 | }); |
| 50 | - $this->app->bind('permission', function () use ($entities) { |
|
| 50 | + $this->app->bind('permission', function() use ($entities) { |
|
| 51 | 51 | return new $entities["permission"](); |
| 52 | 52 | }); |
| 53 | - $this->app->bind('common-info', function () use ($entities) { |
|
| 53 | + $this->app->bind('common-info', function() use ($entities) { |
|
| 54 | 54 | return new $entities["common-info"](); |
| 55 | 55 | }); |
| 56 | - $this->app->bind('adobe-connect', function () { |
|
| 56 | + $this->app->bind('adobe-connect', function() { |
|
| 57 | 57 | return App::make(Client::class); |
| 58 | 58 | }); |
| 59 | 59 | |
@@ -193,7 +193,7 @@ |
||
| 193 | 193 | $field = SCT::toHyphen($field); |
| 194 | 194 | $this->filters = array_filter( |
| 195 | 195 | $this->filters, |
| 196 | - static function ($filter) use ($field) { |
|
| 196 | + static function($filter) use ($field) { |
|
| 197 | 197 | return mb_strpos($filter, $field) === false; |
| 198 | 198 | }, |
| 199 | 199 | ARRAY_FILTER_USE_KEY |