Skip to content

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mandan2 committed Nov 14, 2023
1 parent 0a388bb commit 6524e3a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Infrastructure/Response/JsonResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ public static function success(array $data, int $status = 200): self
*/
public static function error($error, int $status = 400): self
{
// TODO add compatibility for json string object when logs will be implemented

if (!is_array($error)) {
$error = [$error];
}
Expand Down

0 comments on commit 6524e3a

Please sign in to comment.