We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e079308 commit e16130dCopy full SHA for e16130d
doc/classes.md
@@ -5,20 +5,18 @@
5
#### PHP
6
```php
7
<?php
8
- class myClass {
9
- public $foo = 1
10
-
+ class myClass {
+ public $foo = 1
11
public function returnFoo() {
12
- echo $this->foo;
+ echo $this->foo;
13
}
14
15
?>
16
```
17
#### Python
18
```python
19
class myClass:
20
- foo = 1
21
+ foo = 1
22
def returnFoo(self):
23
return self.foo
24
0 commit comments