Completed
Pull Request — master (#153)
by Arnaud
03:45
created
tests/AdminBundle/Bridge/Doctrine/ORM/Metadata/MetadataHelperTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $metadata
49 49
             ->expects($this->atLeastOnce())
50 50
             ->method('getFieldMapping')
51
-            ->willReturnCallback(function (string $field) use ($fields) {
51
+            ->willReturnCallback(function(string $field) use ($fields) {
52 52
                 $this->assertArrayHasKey($field, $fields);
53 53
 
54 54
                 return [
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $metadata
60 60
             ->expects($this->atLeastOnce())
61 61
             ->method('getTypeOfField')
62
-            ->willReturnCallback(function (string $field) use ($fields) {
62
+            ->willReturnCallback(function(string $field) use ($fields) {
63 63
                 $this->assertArrayHasKey($field, $fields);
64 64
 
65 65
                 return 'string';
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         $metadataFactory
100 100
             ->expects($this->once())
101 101
             ->method('getMetadataFor')
102
-            ->willReturnCallback(function (string $class) {
102
+            ->willReturnCallback(function(string $class) {
103 103
                 $this->assertEquals('MyLittleClass', $class);
104 104
 
105 105
                 throw new Exception();
Please login to merge, or discard this patch.