mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 06:11:35 +08:00
Correction of many errors code inspection.
Adjustments code according to the standards. Adding missing PHPDoc comment.
This commit is contained in:
@ -89,8 +89,9 @@ class FixtureController extends Controller
|
||||
}
|
||||
|
||||
if (!$foundFixtures) {
|
||||
throw new Exception("No files were found by name: \"" . implode(', ', $fixtures) . "\".\n"
|
||||
. "Check that files with these name exists, under fixtures path: \n\"" . $this->getFixturePath() . "\"."
|
||||
throw new Exception(
|
||||
"No files were found by name: \"" . implode(', ', $fixtures) . "\".\n" .
|
||||
"Check that files with these name exists, under fixtures path: \n\"" . $this->getFixturePath() . "\"."
|
||||
);
|
||||
}
|
||||
|
||||
@ -131,8 +132,9 @@ class FixtureController extends Controller
|
||||
}
|
||||
|
||||
if (!$foundFixtures) {
|
||||
throw new Exception("No files were found by name: \"" . implode(', ', $fixtures) . "\".\n"
|
||||
. "Check that fixtures with these name exists, under fixtures path: \n\"" . $this->getFixturePath() . "\"."
|
||||
throw new Exception(
|
||||
"No files were found by name: \"" . implode(', ', $fixtures) . "\".\n" .
|
||||
"Check that fixtures with these name exists, under fixtures path: \n\"" . $this->getFixturePath() . "\"."
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user