@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | public function validateResponce() |
| 115 | 115 | { |
| 116 | 116 | try { |
| 117 | - /* check validity of Operation */ |
|
| 117 | + /* check validity of Operation */ |
|
| 118 | 118 | if (!is_string($this->getOperation())) { |
| 119 | 119 | $getOperation = "Operation parameter must be STRING and NOT EMPTY. Received : "; |
| 120 | 120 | $getOperation .= gettype($this->getOperation()) . " ({$this->getOperation()})."; |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | throw new \Exception($getOperation); |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | - /* check validity of Status */ |
|
| 125 | + /* check validity of Status */ |
|
| 126 | 126 | if (!is_numeric($this->getStatus())) { |
| 127 | 127 | $getStatus = "Status parameter must be NUMERIC. Received : "; |
| 128 | 128 | $getStatus .= gettype($this->getStatus()) . " ({$this->getStatus()})."; |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | throw new \Exception($getStatus); |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | - /* check validity of FirebaseData */ |
|
| 133 | + /* check validity of FirebaseData */ |
|
| 134 | 134 | if (!is_array($this->getFirebaseData())) { |
| 135 | 135 | $gettype = "FirebaseData parameter must be ARRAY. Received : " . gettype($this->getFirebaseData()) . "."; |
| 136 | 136 | throw new \Exception($gettype); |