Completed
Pull Request — 2.0 (#1353)
by
unknown
02:41
created
src/Hydra/Serializer/DocumentationNormalizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Hydra\Serializer;
15 15
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 
151 151
         if (isset($attributes['denormalization_context']['groups'])) {
152 152
             if (isset($context['serializer_groups'])) {
153
-                foreach($attributes['denormalization_context']['groups'] as $groupName){
153
+                foreach ($attributes['denormalization_context']['groups'] as $groupName) {
154 154
                     $context['serializer_groups'][] = $groupName;
155 155
                 }
156 156
             } else {
Please login to merge, or discard this patch.