Completed
Push — master ( 5018c3...5108e7 )
by GBProd
07:07
created
DependencyInjection/Compiler/DataProviderCompilerPass.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
     
93 93
     private function registerProvider($registry, $providerId, $tag)
94 94
     {
95
-       $registry->addMethodCall('addProvider', [
95
+        $registry->addMethodCall('addProvider', [
96 96
             new Reference($providerId),
97 97
             $tag['index'], 
98 98
             $tag['type']
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     {
74 74
         if ($this->isTagIncorrect($tag)) {
75 75
             throw new \InvalidArgumentException(
76
-                sprintf('DataProvider "%s" must specify the "index"'.
76
+                sprintf('DataProvider "%s" must specify the "index"' .
77 77
                     ' and "type" attribute.', 
78 78
                     $providerId
79 79
                 )
Please login to merge, or discard this patch.
src/ElasticsearchDataProviderBundle/DataProvider/Registry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         return array_filter(
53 53
             $this->providers,
54
-            function ($providerData) use ($index, $type) {
54
+            function($providerData) use ($index, $type) {
55 55
                 return $this->match($providerData, $index, $type);
56 56
             }
57 57
         );
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     private function mapProviders(array $providers)
70 70
     {
71 71
         return array_map(
72
-            function ($providerData) {
72
+            function($providerData) {
73 73
                 return $providerData['provider'];    
74 74
             },
75 75
             $providers
Please login to merge, or discard this patch.