Skip to content

Commit

Permalink
Merge pull request #201 from ispopov/fix-url
Browse files Browse the repository at this point in the history
change type declaration url
  • Loading branch information
TomasVotruba committed May 19, 2022
2 parents 5397e74 + fe8d53b commit 8a8e4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ function travelToTexas(Vehicle $vehicle): void
If you are working with basic primitive values like strings, integers, and arrays,
and you use PHP 7+ and you can't use polymorphism but you still feel the need to
type-check, you should consider
[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)
or strict mode. It provides you with static typing on top of standard PHP syntax.
The problem with manually type-checking is that doing it will require so much
extra verbiage that the faux "type-safety" you get doesn't make up for the lost
Expand Down

0 comments on commit 8a8e4d9

Please sign in to comment.