@@ -51,7 +51,7 @@  | 
                                                    ||
| 51 | 51 | |
| 52 | 52 | $stmt = $db->prepare($select);  | 
                                                        
| 53 | 53 | |
| 54 | -        if(!($stmt instanceof PDOStatement)) { | 
                                                        |
| 54 | +        if (!($stmt instanceof PDOStatement)) { | 
                                                        |
| 55 | 55 |              throw new RuntimeException("Error occured preparing SELECT statement"); | 
                                                        
| 56 | 56 | }  | 
                                                        
| 57 | 57 | |
@@ -170,7 +170,7 @@  | 
                                                    ||
| 170 | 170 |      { | 
                                                        
| 171 | 171 | $stream = @fopen($filename, 'w');  | 
                                                        
| 172 | 172 | |
| 173 | -        if($stream === false) { | 
                                                        |
| 173 | +        if ($stream === false) { | 
                                                        |
| 174 | 174 |              throw new RuntimeException("Could not read provided file"); | 
                                                        
| 175 | 175 | }  | 
                                                        
| 176 | 176 | |