Passed
Push — master ( 590c20...494ff0 )
by Blizzz
17:26 queued 12s
created
lib/private/Profiler/FileProfilerStorage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 /**
5 5
  * @copyright 2022 Carl Schwan <[email protected]>
6 6
  *
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 		$iterator = new \RecursiveIteratorIterator($iterator, \RecursiveIteratorIterator::CHILD_FIRST);
100 100
 
101 101
 		foreach ($iterator as $file) {
102
-			$file = (string)$file->getPathInfo();
102
+			$file = (string) $file->getPathInfo();
103 103
 			if (is_file($file)) {
104 104
 				unlink($file);
105 105
 			} else {
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 		// when there are errors in sub-requests, the parent and/or children tokens
140 140
 		// may equal the profile token, resulting in infinite loops
141 141
 		$parentToken = $profile->getParentToken() !== $profileToken ? $profile->getParentToken() : null;
142
-		$childrenToken = array_filter(array_map(function (IProfile $p) use ($profileToken) {
142
+		$childrenToken = array_filter(array_map(function(IProfile $p) use ($profileToken) {
143 143
 			return $profileToken !== $p->getToken() ? $p->getToken() : null;
144 144
 		}, $profile->getChildren()));
145 145
 
Please login to merge, or discard this patch.