@@ -111,11 +111,11 @@ |
||
111 | 111 | if ($this->algorithm !== '' && in_array($this->algorithm, hash_algos())) { |
112 | 112 | $this->log("Calculating $this->algorithm hash from: " . $this->file); |
113 | 113 | $hashValue = hash_file($this->algorithm, $this->file); |
114 | - } elseif ((int)$this->hashtype === 0) { |
|
114 | + } elseif ((int) $this->hashtype === 0) { |
|
115 | 115 | $this->log("Calculating MD5 hash from: " . $this->file); |
116 | 116 | $hashValue = md5_file($this->file, false); |
117 | 117 | $this->algorithm = 'md5'; |
118 | - } elseif ((int)$this->hashtype === 1) { |
|
118 | + } elseif ((int) $this->hashtype === 1) { |
|
119 | 119 | $this->log("Calculating SHA1 hash from: " . $this->file); |
120 | 120 | $hashValue = sha1_file($this->file, false); |
121 | 121 | $this->algorithm = 'sha1'; |