Completed
Pull Request — master (#29)
by Eric
08:16
created
Tests/DependencyInjection/Compiler/RegisterRegistryPassTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             ->method('addMethodCall')
82 82
             ->with(
83 83
                 $this->identicalTo('offsetSet'),
84
-                $this->callback(function (array $args) use ($service, $name) {
84
+                $this->callback(function(array $args) use ($service, $name) {
85 85
                     return isset($args[0])
86 86
                         && isset($args[1])
87 87
                         && $args[0] === $name
Please login to merge, or discard this patch.
src/Component/Locale/Form/Type/LocaleCodeType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function buildView(FormView $view, FormInterface $form, array $options)
44 44
     {
45
-        $locales = array_flip(array_map(function (LocaleInterface $locale) {
45
+        $locales = array_flip(array_map(function(LocaleInterface $locale) {
46 46
             return (string) $locale->getCode();
47 47
         }, $this->localeRepository->findAll()));
48 48
 
Please login to merge, or discard this patch.
Component/Grid/Tests/DataSource/Doctrine/MongoDB/ExpressionBuilderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -384,7 +384,7 @@  discard block
 block discarded – undo
384 384
         $expr
385 385
             ->expects($this->once())
386 386
             ->method('equals')
387
-            ->with($this->callback(function ($parameter) use ($regex) {
387
+            ->with($this->callback(function($parameter) use ($regex) {
388 388
                 return $parameter instanceof \MongoRegex && (string) $parameter === $regex;
389 389
             }))
390 390
             ->will($this->returnSelf());
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
         $expr
412 412
             ->expects($this->once())
413 413
             ->method('not')
414
-            ->with($this->callback(function ($parameter) use ($regex) {
414
+            ->with($this->callback(function($parameter) use ($regex) {
415 415
                 return $parameter instanceof \MongoRegex && (string) $parameter === $regex;
416 416
             }))
417 417
             ->will($this->returnSelf());
Please login to merge, or discard this patch.