Skip to content

Commit

Permalink
csfixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed May 22, 2016
1 parent 6e76cbc commit 827d606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function processPackage(PackageInterface $package)
}

if (isset($files['params'])) {
foreach ((array)$files['params'] as $file) {
foreach ((array) $files['params'] as $file) {
$this->rawParams[] = $this->readConfigFile($package, $file);
}
unset($files['params']);
Expand Down Expand Up @@ -198,7 +198,7 @@ public function assembleConfigs()
$rawConfigs['aliases'][] = $aliases;

foreach ($info['files'] as $name => $pathes) {
foreach ((array)$pathes as $path) {
foreach ((array) $pathes as $path) {
$rawConfigs[$name][] = $this->readConfigFile($info['package'], $path);
}
}
Expand Down Expand Up @@ -243,7 +243,7 @@ protected function readConfigFile(PackageInterface $package, $file)
}
}
extract($this->data);
return (array)require $__path;
return (array) require $__path;
}

/**
Expand Down

0 comments on commit 827d606

Please sign in to comment.