Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit 543a12c

Browse files
author
Andrey Helldar
authored
Merge pull request #24 from andrey-helldar/analysis-zYloxY
Apply fixes from StyleCI
2 parents abd1049 + 3a6b6c2 commit 543a12c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Services/ApiResponseService.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Helldar\ApiResponse\Services;
44

5-
use Symfony\Component\HttpFoundation\JsonResponse;
6-
75
use function is_string;
86

7+
use Symfony\Component\HttpFoundation\JsonResponse;
8+
99
class ApiResponseService
1010
{
1111
/** @var array */
@@ -123,7 +123,7 @@ protected function jsonResponse()
123123

124124
private function mergeContent($content)
125125
{
126-
if (! $this->additionalContent) {
126+
if (!$this->additionalContent) {
127127
return $content;
128128
}
129129

@@ -134,7 +134,7 @@ private function mergeContent($content)
134134

135135
private function e($value = null, $doubleEncode = true)
136136
{
137-
if (! is_string($value) || null === $value) {
137+
if (!is_string($value) || null === $value) {
138138
return $value;
139139
}
140140

0 commit comments

Comments
 (0)