Completed
Push — master ( 9eb3ea...4b6fbd )
by Gareth
02:08
created
src/RestrictionFormatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     private static function formatExpression($preference, $expression)
21 21
     {
22 22
         if (count($expression) > 1 && is_array(current($expression))) {
23
-            return array_map(function ($subExpression) use ($preference) {
23
+            return array_map(function($subExpression) use ($preference) {
24 24
                 return self::formatExpression($preference, $subExpression)[0];
25 25
             }, $expression);
26 26
         }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             }
39 39
             $formattedRestrictionType[] = array(
40 40
                 'FieldURI' => array('FieldURI' => API\FieldURIManager::getFieldUriByName($key, $preference)),
41
-                'FieldURIOrConstant' => array('Constant' => array('Value' => (string)$value))
41
+                'FieldURIOrConstant' => array('Constant' => array('Value' => (string) $value))
42 42
             );
43 43
         }
44 44
 
Please login to merge, or discard this patch.