Completed
Pull Request — master (#58)
by James
05:07 queued 02:01
created
src/Git/GitCheckoutRevisionToTemporaryPath.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
     public function __construct(?callable $uniquenessFunction = null)
23 23
     {
24
-        $this->uniquenessFunction = $uniquenessFunction ?? function (string $nonUniqueThing) : string {
24
+        $this->uniquenessFunction = $uniquenessFunction ?? function(string $nonUniqueThing) : string {
25 25
                 return uniqid($nonUniqueThing, true);
26 26
             };
27 27
     }
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     private function generateTemporaryPathFor(Revision $revision) : string
56 56
     {
57 57
         $uniquePathGenerator = $this->uniquenessFunction;
58
-        $checkoutDirectory   = sys_get_temp_dir() . '/api-compare-' . $uniquePathGenerator((string) $revision . '_');
58
+        $checkoutDirectory   = sys_get_temp_dir().'/api-compare-'.$uniquePathGenerator((string) $revision.'_');
59 59
 
60 60
         if (file_exists($checkoutDirectory) || is_dir($checkoutDirectory)) {
61 61
             throw new RuntimeException(sprintf(
Please login to merge, or discard this patch.