Update to proposed PSR-1 coding standard.
* 4 space (no tab) indent * K&R-style braces
This commit is contained in:
+9
-7
@@ -1,12 +1,14 @@
|
||||
<?php
|
||||
|
||||
class Simple {
|
||||
public $name = "Chris";
|
||||
public $value = 10000;
|
||||
class Simple
|
||||
{
|
||||
public $name = "Chris";
|
||||
public $value = 10000;
|
||||
|
||||
public function taxed_value() {
|
||||
return $this->value - ($this->value * 0.4);
|
||||
}
|
||||
public function taxed_value()
|
||||
{
|
||||
return $this->value - ($this->value * 0.4);
|
||||
}
|
||||
|
||||
public $in_ca = true;
|
||||
public $in_ca = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user