Passed
Push — main ( 9e88f8...9f1665 )
by Teodoro
02:28
created
tests/AsyncTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function add(): void
29 29
     {
30
-        $this->async->add(static function () {
30
+        $this->async->add(static function() {
31 31
             usleep(8000);
32 32
 
33 33
             return 555;
34 34
         });
35
-        $this->async->add(static function () {
35
+        $this->async->add(static function() {
36 36
             return 2;
37 37
         });
38 38
 
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function then(): void
48 48
     {
49
-        $this->async->add(static function () {
49
+        $this->async->add(static function() {
50 50
             return 555;
51
-        })->then(static function (int $value) {
51
+        })->then(static function(int $value) {
52 52
             static::assertEquals(555, $value);
53 53
         });
54 54
 
Please login to merge, or discard this patch.
tests/ChildTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function handle(): void
38 38
     {
39
-        $closure = function () {
39
+        $closure = function() {
40 40
             return 33;
41 41
         };
42 42
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function write(): void
58 58
     {
59
-        $closure = function () {
59
+        $closure = function() {
60 60
             return 'Same return value';
61 61
         };
62 62
 
Please login to merge, or discard this patch.