Skip to content

Commit

Permalink
Fix phpstan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ishan-biztech committed Jun 26, 2020
1 parent e3c167c commit f93c316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Utility/FileLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class FileLog {
/**
* Initialize configurations.
*
* @param string $filename Filename to log.
* @param string|null $filename Filename to log.
* @return void
*/
protected static function _init($filename): void {
Expand All @@ -44,7 +44,7 @@ protected static function _init($filename): void {
/**
* Log data into custom file
*
* @param array|string $data Data to store
* @param array|string|object $data Data to store
* @param string|null $filename Filename of log file
* @param bool $traceKey Add trace string key into log data
* @return bool Success
Expand Down
1 change: 0 additions & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
'url' => env('LOG_ERROR_URL', null),
]);


Cake\Utility\Security::setSalt('foo');

// Why is this required?
Expand Down

0 comments on commit f93c316

Please sign in to comment.