Php cs fixed

This commit is contained in:
Tounu 2014-03-11 21:16:30 +01:00
parent 91e52ff31a
commit 482b90e6b1

View file

@ -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);
}