Commit 393044d826b5be3afe4722fee421fa907c366c76

Authored by devel-srv
1 parent 8ed4558064
Exists in master

beautified component

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
app/component/LoadExternalJsAction.php
@@ -24,16 +24,16 @@ class LoadExternalJsAction @@ -24,16 +24,16 @@ class LoadExternalJsAction
24 { 24 {
25 $this->container = $container; 25 $this->container = $container;
26 $this->verbose_debug = SiteConfig::getInstance()->get("verbose_debug", false); 26 $this->verbose_debug = SiteConfig::getInstance()->get("verbose_debug", false);
27 - if($this->verbose_debug){  
28 - FileLogger::debug("LoadExternalJsAction - initialization"); 27 + if ($this->verbose_debug) {
  28 + FileLogger::debug("LoadExternalJsAction - initialization");
29 } 29 }
30 } 30 }
31 31
32 #loads javascript given a name 32 #loads javascript given a name
33 public function __invoke(Request $request, Response $response, $args) 33 public function __invoke(Request $request, Response $response, $args)
34 { 34 {
35 - if($this->verbose_debug){  
36 - FileLogger::debug("LoadExternalJsAction - call to invoke with args: ".json_encode($args)); 35 + if ($this->verbose_debug) {
  36 + FileLogger::debug("LoadExternalJsAction - call to invoke with args: ".json_encode($args));
37 } 37 }
38 $loader_srv_name = \Fccn\Lib\SiteConfig::getInstance()->get('ext_libs_loader_service_name'); 38 $loader_srv_name = \Fccn\Lib\SiteConfig::getInstance()->get('ext_libs_loader_service_name');
39 if (empty($this->container[$loader_srv_name])) { 39 if (empty($this->container[$loader_srv_name])) {