Completed
Push — master ( f200ef...bd47c4 )
by
unknown
03:00
created
src/Main.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -191,8 +191,9 @@
 block discarded – undo
191 191
 		$res[ 'status' ] = $this->getStatusText();
192 192
 
193 193
 		//if it's about laravel validation error
194
-		if ( $this->getErrorCode() && $this->getStatusCode() == 420 )
195
-			$res[ 'error' ] = $this->getErrorCode();
194
+		if ( $this->getErrorCode() && $this->getStatusCode() == 420 ) {
195
+					$res[ 'error' ] = $this->getErrorCode();
196
+		}
196 197
 
197 198
 		$res[ 'result' ] = $data;
198 199
 
Please login to merge, or discard this patch.