Passed
Pull Request — master (#148)
by Marcin
07:50 queued 05:19
created
src/ExceptionHandlerHelper.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 * @return \Symfony\Component\HttpFoundation\Response
73 73
 	 */
74 74
 	protected static function processException(\Exception $ex, array $ex_cfg,
75
-	                                           int $fallback_http_code = HttpResponse::HTTP_INTERNAL_SERVER_ERROR)
75
+											   int $fallback_http_code = HttpResponse::HTTP_INTERNAL_SERVER_ERROR)
76 76
 	{
77 77
 		$api_code = $ex_cfg['api_code'];
78 78
 		$http_code = $ex_cfg['http_code'] ?? $fallback_http_code;
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 	 * @return HttpResponse
142 142
 	 */
143 143
 	protected function unauthenticated(/** @scrutinizer ignore-unused */ $request,
144
-	                                                                     AuthException $exception): HttpResponse
144
+																		 AuthException $exception): HttpResponse
145 145
 	{
146 146
 		$cfg = self::getExceptionHandlerConfig();
147 147
 
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 	 * @return HttpResponse
163 163
 	 */
164 164
 	protected static function error(Exception $ex,
165
-	                                int $api_code, int $http_code = null, string $error_message = null): HttpResponse
165
+									int $api_code, int $http_code = null, string $error_message = null): HttpResponse
166 166
 	{
167 167
 		$ex_http_code = ($ex instanceof HttpException) ? $ex->getStatusCode() : $ex->getCode();
168 168
 		$http_code = $http_code ?? $ex_http_code;
Please login to merge, or discard this patch.