mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
More coding standard corrections.
This commit is contained in:
parent
1d1a2f859c
commit
7a287a6942
40 changed files with 61 additions and 60 deletions
|
@ -165,7 +165,7 @@ class FileLog extends BaseLog {
|
|||
|
||||
if (!empty($this->_file)) {
|
||||
$filename = $this->_file;
|
||||
} elseif ($type == 'error' || $type == 'warning') {
|
||||
} elseif ($type === 'error' || $type === 'warning') {
|
||||
$filename = 'error.log';
|
||||
} elseif (in_array($type, $debugTypes)) {
|
||||
$filename = 'debug.log';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue