Skip to content

Commit 76508b4

Browse files
authored
Fixed indents
1 parent 0a0554b commit 76508b4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/instance-reference.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
By use of the `this` keyword.
77
```php
88
<?php
9-
class myClass {
10-
public $foo = 4;
9+
class myClass {
10+
public $foo = 4;
1111
private $bar = 5;
12-
12+
1313
function baz() {
14-
echo $this->foo;
14+
echo $this->foo;
1515
echo $this->bar;
1616
}
1717
}
@@ -22,7 +22,7 @@ Will echo both variables of the class, public and private. Private variables, ho
2222
By use of the `self` keyword.
2323
```python
2424
class myClass:
25-
foo = 4
25+
foo = 4
2626
def baz():
27-
print(self.foo)
27+
print(self.foo)
2828
```

0 commit comments

Comments
 (0)