Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / contact / tests / src / Unit / MailHandlerTest.php
index 898ea226c8da5ec48fbb693546b33dea91724bf2..04a12b86df58117ace64cbffb9e8fbe689ffb545 100644 (file)
@@ -136,7 +136,7 @@ class MailHandlerTest extends UnitTestCase {
     $this->mailManager->expects($this->any())
       ->method('mail')
       ->willReturnCallback(
-        function($module, $key, $to, $langcode, $params, $from) use (&$results) {
+        function ($module, $key, $to, $langcode, $params, $from) use (&$results) {
           $result = array_shift($results);
           $this->assertEquals($module, $result['module']);
           $this->assertEquals($key, $result['key']);
@@ -234,7 +234,7 @@ class MailHandlerTest extends UnitTestCase {
     $results[] = $result + $default_result;
     $data[] = [$message, $sender, $results];
 
-    //For authenticated user.
+    // For authenticated user.
     $results = [];
     $message = $this->getAuthenticatedMockMessage();
     $sender = $this->getMockSender(FALSE, 'user@drupal.org');