mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Use single quotes where possible
This commit is contained in:
parent
f8e403f243
commit
2376cfa261
@ -393,7 +393,7 @@ class MyClass
|
||||
// Methods are declared as functions inside a class
|
||||
public function myMethod()
|
||||
{
|
||||
print "MyClass";
|
||||
print 'MyClass';
|
||||
}
|
||||
|
||||
final function youCannotOverrideMe()
|
||||
@ -402,7 +402,7 @@ class MyClass
|
||||
|
||||
public static function myStaticMethod()
|
||||
{
|
||||
print "I am static";
|
||||
print 'I am static';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user