File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ To block out single lines use // and all // are assumed to be redundant test cod
4343
4444// print_r($foo);
4545
46- For incline comment use //** and //* eg
46+ For inline comment use //** and //* eg
4747
4848//** Decide what do do
4949switch($decide){
@@ -66,7 +66,7 @@ switch($decide){
6666Do not use the phpdoc on every function, eg
6767
6868/**
69- * Login an user
69+ * Login a user
7070* @param string user username
7171* @param string password of user
7272*/
@@ -75,7 +75,7 @@ function login($user, $pass){
7575.......
7676}
7777<<
78- as this function explains its self, the followinf clean code will suffice
78+ as this function explains its self, the following clean code will suffice
7979>>
8080function login($user, $pass){
8181.......
@@ -84,7 +84,7 @@ function login($user, $pass){
8484If you do need to explain a function then put un the summary syntax eg
8585
8686/** Pass an array of values where third param is bar
87- * $foo['bar'] = 1; // allow an user
87+ * $foo['bar'] = 1; // allow a user
8888* $foo['bar'] = 2; // destroy user
8989* $foo['bar'] = -1; // recreate
9090*/
You can’t perform that action at this time.
0 commit comments