Passed
Push — dev ( 99c93a...6614ec )
by Observer
01:31
created
engine/components/system/Process.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -6,28 +6,28 @@
 block discarded – undo
6 6
 
7 7
 class Process extends Component
8 8
 {
9
-	protected ?string $classname = 'System.Diagnostics.Process';
10
-	protected ?string $assembly  = 'System';
9
+    protected ?string $classname = 'System.Diagnostics.Process';
10
+    protected ?string $assembly  = 'System';
11 11
 
12
-	public function __construct (int $pid = null)
13
-	{
12
+    public function __construct (int $pid = null)
13
+    {
14 14
         $this->selector = VoidCore::getClass ($this->classname, $this->assembly);
15 15
 
16
-		if ($pid !== null)
16
+        if ($pid !== null)
17 17
             $this->selector = $pid == getmypid () ?
18 18
                 VoidCore::callMethod ($this->selector, 'GetCurrentProcess') :
19 19
                 VoidCore::callMethod ($this->selector, 'GetProcessById', $pid);
20 20
 
21
-		Components::add ($this);
22
-	}
21
+        Components::add ($this);
22
+    }
23 23
 	
24
-	public static function getProcessById (int $pid)
25
-	{
26
-		return new self ($pid);
27
-	}
24
+    public static function getProcessById (int $pid)
25
+    {
26
+        return new self ($pid);
27
+    }
28 28
 	
29
-	public static function getCurrentProcess ()
30
-	{
31
-		return new self (getmypid ());
32
-	}
29
+    public static function getCurrentProcess ()
30
+    {
31
+        return new self (getmypid ());
32
+    }
33 33
 }
Please login to merge, or discard this patch.
engine/extensions/VLF/bin/interpreter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 
98 98
                         try
99 99
                         {
100
-							if (strpos ($propertyName, '->') !== false && self::$allow_multimethods_calls)
100
+                            if (strpos ($propertyName, '->') !== false && self::$allow_multimethods_calls)
101 101
                                 eval ('namespace VoidEngine; '. $preset .' _c('. self::$objects[$name]->selector .')->'. $propertyName .' = '. $propertyValue .';');
102 102
                             
103 103
                             else self::$objects[$name]->$propertyName = eval ("namespace VoidEngine; $preset return $propertyValue;");
Please login to merge, or discard this patch.