Completed
Push — master ( 1f2c7d...261d9a )
by Fabian
10:38
created
src/PhpMerge/GitMerge.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
     }
291 291
 
292 292
     /**
293
-     * @param $text
293
+     * @param string $text
294 294
      * @return string
295 295
      */
296 296
     protected static function preMergeAlter($text) : string
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
     }
301 301
 
302 302
     /**
303
-     * @param $text
303
+     * @param string $text
304 304
      * @return bool|string
305 305
      */
306 306
     protected static function postMergeAlter($text) : string
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
     protected static function preMergeAlter($text) : string
297 297
     {
298 298
         // Append new lines so that conflicts at the end of the text work.
299
-        return $text . "\nthe\nend";
299
+        return $text."\nthe\nend";
300 300
     }
301 301
 
302 302
     /**
@@ -333,11 +333,11 @@  discard block
 block discarded – undo
333 333
         if (!$this->dir) {
334 334
             // Greate a temporary directory.
335 335
             $tempfile = tempnam(sys_get_temp_dir(), '');
336
-            mkdir($tempfile . '.git');
336
+            mkdir($tempfile.'.git');
337 337
             if (file_exists($tempfile)) {
338 338
                 unlink($tempfile);
339 339
             }
340
-            $this->dir = $tempfile . '.git';
340
+            $this->dir = $tempfile.'.git';
341 341
             $this->git = $this->wrapper->init($this->dir);
342 342
         }
343 343
         $this->git->config('user.name', 'GitMerge')
Please login to merge, or discard this patch.