Test Failed
Branch development (1f4e65)
by Robert
11:57
created
src/LiveEngageRequest.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,9 @@  discard block
 block discarded – undo
136 136
 			'body' => json_encode($payload ?: [])
137 137
 		];
138 138
 		
139
-		if ($noauth) unset($args['auth']);
139
+		if ($noauth) {
140
+			unset($args['auth']);
141
+		}
140 142
 		
141 143
 		// @codeCoverageIgnoreStart
142 144
 		try {
@@ -170,7 +172,9 @@  discard block
 block discarded – undo
170 172
 	 */
171 173
 	public function V2($url, $method, $payload = null, $headers = null, $noauth = false)
172 174
 	{
173
-		if (!$this->bearer) $this->login();
175
+		if (!$this->bearer) {
176
+			$this->login();
177
+		}
174 178
 		
175 179
 		$client = new Client();
176 180
 		$args = [
Please login to merge, or discard this patch.