@@ -25,11 +25,11 @@ discard block |
||
25 | 25 | |
26 | 26 | class DefaultContactServiceTest extends TestCase { |
27 | 27 | private DefaultContactService $service; |
28 | - private MockObject|CardDavBackend $cardDav; |
|
29 | - private MockObject|IAppManager $appManager; |
|
30 | - private MockObject|IAppDataFactory $appDataFactory; |
|
31 | - private MockObject|LoggerInterface $logger; |
|
32 | - private MockObject|IAppConfig $config; |
|
28 | + private MockObject | CardDavBackend $cardDav; |
|
29 | + private MockObject | IAppManager $appManager; |
|
30 | + private MockObject | IAppDataFactory $appDataFactory; |
|
31 | + private MockObject | LoggerInterface $logger; |
|
32 | + private MockObject | IAppConfig $config; |
|
33 | 33 | |
34 | 34 | protected function setUp(): void { |
35 | 35 | parent::setUp(); |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | ->with( |
92 | 92 | $this->anything(), |
93 | 93 | $this->anything(), |
94 | - $this->callback(function ($cardData) use (&$capturedCardData) { |
|
94 | + $this->callback(function($cardData) use (&$capturedCardData) { |
|
95 | 95 | $capturedCardData = $cardData; |
96 | 96 | return true; |
97 | 97 | }), |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | ->with( |
139 | 139 | $this->anything(), |
140 | 140 | $this->anything(), |
141 | - $this->callback(function ($cardData) use (&$capturedCardData) { |
|
141 | + $this->callback(function($cardData) use (&$capturedCardData) { |
|
142 | 142 | $capturedCardData = $cardData; |
143 | 143 | return true; |
144 | 144 | }), |