== to === and != to !== where applicable

This commit is contained in:
euromark 2013-02-12 03:38:08 +01:00
parent ee4a116936
commit 111366d5c8
89 changed files with 291 additions and 291 deletions

View file

@ -227,7 +227,7 @@ class Scaffold {
}
if ($this->controller->beforeScaffold($action)) {
if ($action == 'edit') {
if ($action === 'edit') {
if (isset($request->params['pass'][0])) {
$this->ScaffoldModel->id = $request['pass'][0];
}
@ -237,7 +237,7 @@ class Scaffold {
}
if (!empty($request->data)) {
if ($action == 'create') {
if ($action === 'create') {
$this->ScaffoldModel->create();
}
@ -443,7 +443,7 @@ class Scaffold {
$associations[$type][$assocKey]['controller'] =
Inflector::pluralize(Inflector::underscore($model));
if ($type == 'hasAndBelongsToMany') {
if ($type === 'hasAndBelongsToMany') {
$associations[$type][$assocKey]['with'] = $assocData['with'];
}
}