Passed
Push — master ( 547e8a...f9e8fb )
by Leon
02:13
created
src/TranslateString/Entity/TranslateString.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,11 +117,11 @@
 block discarded – undo
117 117
             $array['translation'],
118 118
             $array['plural_key'],
119 119
             $array['platform_mask'],
120
-            (bool) $array['is_hidden'],
120
+            (bool)$array['is_hidden'],
121 121
             $array['tags'],
122
-            (bool) $array['fuzzy'],
122
+            (bool)$array['fuzzy'],
123 123
             $array['context'],
124
-            (bool) $array['is_archived'],
124
+            (bool)$array['is_archived'],
125 125
             $modified,
126 126
             $created
127 127
         );
Please login to merge, or discard this patch.
src/TranslateString/Request/ListPairsByLanguageRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 
111 111
     protected function getLanguageISOCodes()
112 112
     {
113
-        return array_map(function (Language $lang) {
113
+        return array_map(function(Language $lang) {
114 114
             return $lang->getIso();
115 115
         }, $this->languages);
116 116
     }
Please login to merge, or discard this patch.
src/TranslateString/Request/AddOrUpdateTranslationsRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
         $responseData = json_decode($response->getBody()->getContents(), true);
91 91
         $responseInfo = ResponseInfo::buildFromArray($responseData['response']);
92 92
 
93
-        if($responseInfo->getCode() !== 200) {
93
+        if ($responseInfo->getCode() !== 200) {
94 94
             return $responseInfo;
95 95
         }
96 96
 
Please login to merge, or discard this patch.
src/Project/Request/ListProjectsRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             return $responseInfo;
61 61
         }
62 62
 
63
-        $projects  = [];
63
+        $projects = [];
64 64
         foreach ($responseData['projects'] as $project) {
65 65
             $projects[] = Project::buildFromArray($project);
66 66
         }
Please login to merge, or discard this patch.