mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Add typed properties reference to TypeError page (#936)
This commit is contained in:
parent
89ee07c72d
commit
900b6a65c0
1 changed files with 5 additions and 2 deletions
|
@ -15,9 +15,12 @@
|
|||
<section xml:id="typeerror.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
There are three scenarios where a
|
||||
<ooclass><classname>TypeError</classname></ooclass> may be thrown:
|
||||
A <classname>TypeError</classname> may be thrown when:
|
||||
<simplelist>
|
||||
<member>
|
||||
The value being set for a class property does not match
|
||||
the property's corresponding declared type.
|
||||
</member>
|
||||
<member>
|
||||
The argument type being passed to a function does not match
|
||||
its corresponding declared parameter type.
|
||||
|
|
Loading…
Reference in a new issue