@@ -189,12 +189,12 @@ discard block |
||
| 189 | 189 | "passLogin" => 'testing' |
| 190 | 190 | ] |
| 191 | 191 | ); |
| 192 | - $outputEmail = (array) json_decode($outputEmail); |
|
| 192 | + $outputEmail = (array)json_decode($outputEmail); |
|
| 193 | 193 | $this->assertEquals($expectedOutput, $outputEmail); |
| 194 | 194 | $currentId = Session::get('start'); |
| 195 | 195 | Session::forget('start'); |
| 196 | 196 | |
| 197 | - $msg =(object) [ |
|
| 197 | + $msg = (object)[ |
|
| 198 | 198 | "name" => $userId, |
| 199 | 199 | "reply" => [ |
| 200 | 200 | 0 => "Hello World" |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | $output = $obReply->replyTo($msg); |
| 207 | 207 | $this->assertEquals("Messages is sent", $output); |
| 208 | 208 | |
| 209 | - $msg =(object) [ |
|
| 209 | + $msg = (object)[ |
|
| 210 | 210 | "name" => $currentId, |
| 211 | 211 | "reply" => [ |
| 212 | 212 | 0 => "Hello World" |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | $output = $obReply->replyTo([]); |
| 222 | 222 | $this->assertEquals("Failed", $output); |
| 223 | 223 | |
| 224 | - $output = $obReply->replyTo((object) [ |
|
| 224 | + $output = $obReply->replyTo((object)[ |
|
| 225 | 225 | "name" => -1, |
| 226 | 226 | "reply" => [ |
| 227 | 227 | 0 => "Hello World" |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | ]); |
| 231 | 231 | $this->assertEquals("Invalid Authentication", $output); |
| 232 | 232 | |
| 233 | - $output = $obReply->replyTo((object) [ |
|
| 233 | + $output = $obReply->replyTo((object)[ |
|
| 234 | 234 | "name" => $userId, |
| 235 | 235 | "reply" => [ |
| 236 | 236 | 0 => "Hello" |