Skip to content

Commit 8a8e4d9

Browse files
authored
Merge pull request piotrplenik#201 from ispopov/fix-url
change type declaration url
2 parents 5397e74 + fe8d53b commit 8a8e4d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)