@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | $stmt = Connect::getInstance()->prepare("{$query}"); |
| 34 | 34 | $stmt->execute($data); |
| 35 | 35 | return $stmt->fetchAll(PDO::FETCH_ASSOC); |
| 36 | - }catch(Exception $exception){ |
|
| 36 | + } catch(Exception $exception){ |
|
| 37 | 37 | $this->fail = $exception; |
| 38 | 38 | } |
| 39 | 39 | return []; |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | $stmt = Connect::getInstance()->prepare("DESCRIBE {$this->table}"); |
| 46 | 46 | $stmt->execute(); |
| 47 | 47 | return $stmt->fetchAll(PDO::FETCH_ASSOC); |
| 48 | - }catch(Exception $exception){ |
|
| 48 | + } catch(Exception $exception){ |
|
| 49 | 49 | $this->fail = $exception; |
| 50 | 50 | return []; |
| 51 | 51 | } |