mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Php cs fixed
This commit is contained in:
parent
91e52ff31a
commit
482b90e6b1
1 changed files with 2 additions and 3 deletions
|
@ -101,15 +101,14 @@ class CakeFixtureManager {
|
|||
*
|
||||
* @param string $fixturePath the fixture path to parse
|
||||
* @return array containing fixture class name and optional additional path
|
||||
*/
|
||||
protected function _parseFixturePath($fixturePath) {
|
||||
*/
|
||||
protected function _parseFixturePath($fixturePath) {
|
||||
$pathTokenArray = explode('/', $fixturePath);
|
||||
$fixture = array_pop($pathTokenArray);
|
||||
$additionalPath = '';
|
||||
foreach ($pathTokenArray as $pathToken) {
|
||||
$additionalPath .= DS . $pathToken;
|
||||
}
|
||||
|
||||
return array('fixture' => $fixture, 'additionalPath' => $additionalPath);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue