mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fix some coding standards issues.
This commit is contained in:
parent
7d51db9e63
commit
0df239de2b
1 changed files with 5 additions and 5 deletions
|
@ -1034,7 +1034,6 @@ class View extends Object {
|
||||||
throw new MissingLayoutException(array('file' => $paths[0] . $file . $this->ext));
|
throw new MissingLayoutException(array('file' => $paths[0] . $file . $this->ext));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the extensions that view files can use.
|
* Get the extensions that view files can use.
|
||||||
*
|
*
|
||||||
|
@ -1099,11 +1098,11 @@ class View extends Object {
|
||||||
$themePaths = array();
|
$themePaths = array();
|
||||||
foreach ($paths as $path) {
|
foreach ($paths as $path) {
|
||||||
if (strpos($path, DS . 'Plugin' . DS) === false) {
|
if (strpos($path, DS . 'Plugin' . DS) === false) {
|
||||||
if ($plugin) {
|
if ($plugin) {
|
||||||
$themePaths[] = $path . 'Themed'. DS . $this->theme . DS . 'Plugin' . DS . $plugin . DS;
|
$themePaths[] = $path . 'Themed' . DS . $this->theme . DS . 'Plugin' . DS . $plugin . DS;
|
||||||
}
|
|
||||||
$themePaths[] = $path . 'Themed'. DS . $this->theme . DS;
|
|
||||||
}
|
}
|
||||||
|
$themePaths[] = $path . 'Themed' . DS . $this->theme . DS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$paths = array_merge($themePaths, $paths);
|
$paths = array_merge($themePaths, $paths);
|
||||||
}
|
}
|
||||||
|
@ -1113,4 +1112,5 @@ class View extends Object {
|
||||||
}
|
}
|
||||||
return $this->_paths = $paths;
|
return $this->_paths = $paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue