@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | if (!array_key_exists($key, $this->entries) && !$this->existsInBackup($key)) { |
| 24 | 24 | return false; |
| 25 | 25 | } |
| 26 | - if($this->existsInBackup($key)) { |
|
| 26 | + if ($this->existsInBackup($key)) { |
|
| 27 | 27 | $entry = unserialize($this->getFromBackup($key)); |
| 28 | 28 | return gzuncompress($entry['content']); |
| 29 | 29 | } |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | private function existsInBackup($key) |
| 34 | 34 | { |
| 35 | - if(file_exists($this->backupDir."/".$key.".dat")) { |
|
| 35 | + if (file_exists($this->backupDir."/".$key.".dat")) { |
|
| 36 | 36 | return true; |
| 37 | 37 | } |
| 38 | 38 | return false; |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | { |
| 43 | 43 | $contents = ""; |
| 44 | 44 | $handle = fopen($this->backupDir."/".$key.".dat", "r+"); |
| 45 | - while(!feof($handle)) { |
|
| 45 | + while (!feof($handle)) { |
|
| 46 | 46 | $contents .= fread($handle, 32); |
| 47 | 47 | } |
| 48 | 48 | return $contents; |