diff options
author | Matthias <ilovemilk@wusa.io> | 2019-05-17 17:50:31 +0300 |
---|---|---|
committer | Matthias <ilovemilk@wusa.io> | 2019-05-17 17:50:31 +0300 |
commit | fb1aa4c89f889a47d446ba3f12f19658be5f9cf3 (patch) | |
tree | 699063397c4cb1c28c0a9c1b79f771d42763870d /lib | |
parent | 7fa86f1d601a931852fd888bb3b73e2fd7c68426 (diff) |
fix return value type to double
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analyzer/EntropyAnalyzer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analyzer/EntropyAnalyzer.php b/lib/Analyzer/EntropyAnalyzer.php index 0e8d00d..e1fd7b7 100644 --- a/lib/Analyzer/EntropyAnalyzer.php +++ b/lib/Analyzer/EntropyAnalyzer.php @@ -134,7 +134,7 @@ class EntropyAnalyzer if (!$handle) { $this->logger->debug('createEntropyArrayFromFile: Getting file handle failed.', array('app' => Application::APP_ID)); - return []; + return 0.0; } while (!feof($handle)) { |