Completed
Push — master ( b16e20...6d76b9 )
by Jan
02:09
created
src/Driver/ComDriver.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,9 @@
 block discarded – undo
22 22
 	{
23 23
 		// Use the Windows COM interface
24 24
 		$fsobj = new \COM('Scripting.FileSystemObject');
25
-		if (dirname($path) == '.')
26
-			$this->path = ((substr(getcwd(), -1) == DIRECTORY_SEPARATOR) ? getcwd() . basename($path) : getcwd() . DIRECTORY_SEPARATOR . basename($path));
25
+		if (dirname($path) == '.') {
26
+					$this->path = ((substr(getcwd(), -1) == DIRECTORY_SEPARATOR) ? getcwd() . basename($path) : getcwd() . DIRECTORY_SEPARATOR . basename($path));
27
+		}
27 28
 		$f = $fsobj->GetFile($path);
28 29
 		return BigInteger::of($f->Size);
29 30
 	}
Please login to merge, or discard this patch.
src/Utils.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: jkuchar1
5
- * Date: 31.1.2016
6
- * Time: 16:49
7
- */
3
+	 * Created by PhpStorm.
4
+	 * User: jkuchar1
5
+	 * Date: 31.1.2016
6
+	 * Time: 16:49
7
+	 */
8 8
 
9 9
 namespace BigFileTools;
10 10
 
Please login to merge, or discard this patch.