2 parents 5397e74 + fe8d53b commit 8a8e4d9Copy full SHA for 8a8e4d9
1 file changed
README.md
@@ -1103,7 +1103,7 @@ function travelToTexas(Vehicle $vehicle): void
1103
If you are working with basic primitive values like strings, integers, and arrays,
1104
and you use PHP 7+ and you can't use polymorphism but you still feel the need to
1105
type-check, you should consider
1106
-[type declaration](http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration)
+[type declaration](https://www.php.net/manual/en/language.types.declarations.php)
1107
or strict mode. It provides you with static typing on top of standard PHP syntax.
1108
The problem with manually type-checking is that doing it will require so much
1109
extra verbiage that the faux "type-safety" you get doesn't make up for the lost
0 commit comments