Skip to content

Commit fe8d53b

Browse files
committed
change type hinting url
1 parent 5397e74 commit fe8d53b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ function travelToTexas(Vehicle $vehicle): void
11031103
If you are working with basic primitive values like strings, integers, and arrays,
11041104
and you use PHP 7+ and you can't use polymorphism but you still feel the need to
11051105
type-check, you should consider
1106-
[type declaration](http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration)
1106+
[type declaration](https://www.php.net/manual/en/language.types.declarations.php)
11071107
or strict mode. It provides you with static typing on top of standard PHP syntax.
11081108
The problem with manually type-checking is that doing it will require so much
11091109
extra verbiage that the faux "type-safety" you get doesn't make up for the lost

0 commit comments

Comments
 (0)