@@ -109,8 +109,9 @@ |
||
| 109 | 109 | |
| 110 | 110 | $result = array_filter( $this->getHeaders() ); |
| 111 | 111 | |
| 112 | - if ( empty( $result ) ) |
|
| 113 | - return response()->json( $data, $this->getStatusCode() ); |
|
| 112 | + if ( empty( $result ) ) { |
|
| 113 | + return response()->json( $data, $this->getStatusCode() ); |
|
| 114 | + } |
|
| 114 | 115 | |
| 115 | 116 | return response()->json( $data, $this->getStatusCode() ) |
| 116 | 117 | ->withHeaders( $this->getHeaders() ); |