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 f80e755 commit 440c486Copy full SHA for 440c486
05 - Refactoring/05 - Extract Field.php
@@ -14,7 +14,7 @@ class Greeter {
14
public function greet($name) {
15
// 1. Extract the string 'Hello' into a field named $_greeting so we are able to customize the greeting.
16
// Use the "Initialize in class constructor" option to generate a constructor.
17
- // Make it a protected field..
+ // Make it a protected field.
18
return 'Hello' . ', ' . $name;
19
}
20
0 commit comments