Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 1f5691e

Browse files
committed
CS fixes in Zend_Application_Bootstrap_Bootstrap
1 parent 4b59373 commit 1f5691e

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

library/Zend/Application/Bootstrap/Bootstrap.php

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,13 @@ public function __construct($application)
6464
parent::__construct($application);
6565

6666
if ($application->hasOption('resourceloader')) {
67-
$this->setOptions(array(
68-
'resourceloader' => $application->getOption('resourceloader')
69-
));
67+
$this->setOptions(
68+
array(
69+
'resourceloader' => $application->getOption(
70+
'resourceloader'
71+
)
72+
)
73+
);
7074
}
7175
$this->getResourceLoader();
7276

@@ -128,10 +132,14 @@ public function getResourceLoader()
128132
) {
129133
$r = new ReflectionClass($this);
130134
$path = $r->getFileName();
131-
$this->setResourceLoader(new Zend_Application_Module_Autoloader(array(
132-
'namespace' => $namespace,
133-
'basePath' => dirname($path),
134-
)));
135+
$this->setResourceLoader(
136+
new Zend_Application_Module_Autoloader(
137+
array(
138+
'namespace' => $namespace,
139+
'basePath' => dirname($path),
140+
)
141+
)
142+
);
135143
}
136144
return $this->_resourceLoader;
137145
}

0 commit comments

Comments
 (0)