Passed
Push — master ( 9894af...2896a8 )
by Csaba
02:29
created
src/Database/Clusterpoint/Resource.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             $this->failOnError($res);
51 51
             return $this->toObject($res);
52 52
         } catch (\Exception $ex) {
53
-            throw new RestException($ex->getMessage(), ['result'=>empty($res)?null:$res]);
53
+            throw new RestException($ex->getMessage(), ['result'=>empty($res) ? null : $res]);
54 54
         }
55 55
     }
56 56
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             $this->failOnError($res);
62 62
             return $this->toObject($res);
63 63
         } catch (\Exception $ex) {
64
-            throw new RestException($ex->getMessage(), ['result'=>empty($res)?null:$res]);
64
+            throw new RestException($ex->getMessage(), ['result'=>empty($res) ? null : $res]);
65 65
         }
66 66
     }
67 67
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             $this->failOnError($res);
73 73
             return $this->toObject($res);
74 74
         } catch (\Exception $ex) {
75
-            throw new RestException($ex->getMessage(), ['result'=>empty($res)?null:$res]);
75
+            throw new RestException($ex->getMessage(), ['result'=>empty($res) ? null : $res]);
76 76
         }
77 77
     }
78 78
 
Please login to merge, or discard this patch.