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
3b44a15acb
commit
b4f8fbe657
@ -433,7 +433,7 @@ class MyOtherClass extends MyClass
|
||||
}
|
||||
}
|
||||
|
||||
$my_other_class = new MyOtherClass("Instance prop");
|
||||
$my_other_class = new MyOtherClass('Instance prop');
|
||||
$my_other_class->printProtectedProperty(); // => Prints "protected"
|
||||
$my_other_class->myMethod(); // Prints "MyClass > MyOtherClass"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user