Completed
Pull Request — master (#40)
by Alessandro
06:28
created
src/Services/Explain/ExplainQueryService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     const VERBOSITY_EXECUTION_STATS = 'executionStats';
14 14
     const VERBOSITY_ALL_PLAN_EXECUTION = 'allPlansExecution';
15 15
 
16
-    public static $acceptedMethods= [
16
+    public static $acceptedMethods = [
17 17
         'count',
18 18
         'distinct',
19 19
         'find',
@@ -55,11 +55,11 @@  discard block
 block discarded – undo
55 55
     {
56 56
         if (!in_array($query->getMethod(), self::$acceptedMethods)) {
57 57
             throw new \InvalidArgumentException(
58
-                'Cannot explain the method \''.$query->getMethod().'\'. Allowed methods: '. implode(', ',self::$acceptedMethods)
58
+                'Cannot explain the method \''.$query->getMethod().'\'. Allowed methods: '.implode(', ', self::$acceptedMethods)
59 59
             );
60 60
         };
61 61
 
62
-        $manager = $this->clientRegistry->getClient($query->getClient(),$query->getDatabase())->__debugInfo()['manager'];
62
+        $manager = $this->clientRegistry->getClient($query->getClient(), $query->getDatabase())->__debugInfo()['manager'];
63 63
 
64 64
         return $manager
65 65
             ->executeCommand(
Please login to merge, or discard this patch.