You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,9 @@ $ php ./safe.php generate
38
38
39
39
## Special cases
40
40
41
-
In some cases, automatic generation is to difficult to execute and the function has to be written manually.
41
+
In some cases, automatic generation is too difficult to execute and the function has to be written manually.
42
42
This should however only be done exceptionally in order to keep the project easy to maintain.
43
-
The most important example are all the functions of the classes DateTime and DateTimeImmutable, since the entire classes have to be overloaded.
43
+
The most important examples are all the functions of the classes `DateTime` and `DateTimeImmutable`, since the entire classes have to be overloaded manually.
44
44
All custom objects must be located in lib/ and custom functions must be in lib/special_cases.php.
All PHP functions that can return 'false' on error are part of Safe.
63
-
In addition, Safe also provide 2 'Safe' classes: Safe\DateTime and Safe\DateTimeImmutable whose methods will throw exceptions instead of returning false.
62
+
All PHP functions that can return `false` on error are part of Safe.
63
+
In addition, Safe also provide 2 'Safe' classes: `Safe\DateTime` and `Safe\DateTimeImmutable` whose methods will throw exceptions instead of returning false.
0 commit comments