Passed
Push — 8.x-3.x ( e317fe...6bac25 )
by
unknown
11:10
created
src/Utility/StringHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
    */
17 17
   public static function camelCase() {
18 18
     $args = func_get_args();
19
-    $components = array_map(function ($component) {
19
+    $components = array_map(function($component) {
20 20
       return preg_replace('/[^a-zA-Z0-9_]/', '_', $component);
21 21
     }, $args);
22 22
 
Please login to merge, or discard this patch.
src/GraphQLLanguageContext.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -100,11 +100,9 @@
 block discarded – undo
100 100
     // Extract the result array.
101 101
     try {
102 102
       return call_user_func($callable);
103
-    }
104
-    catch (\Exception $exc) {
103
+    } catch (\Exception $exc) {
105 104
       throw $exc;
106
-    }
107
-    finally {
105
+    } finally {
108 106
       // In any case, set the language context back to null.
109 107
       $this->currentLanguage = $this->languageStack->pop();
110 108
       $this->isActive = FALSE;
Please login to merge, or discard this patch.