Use single quotes where possible

This commit is contained in:
Malcolm Fell 2013-06-30 12:50:01 +12:00
parent 3b44a15acb
commit b4f8fbe657

View File

@ -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"