kang
09003ff79e
Standardize ArrayAccess::offsetExists() example ( #2541 )
2023-06-26 14:14:53 +01:00
Tim Düsterhus
6e69d9342e
Use FQCN for native attributes ( #2137 )
...
* Use FQCN for native attributes
For attributes, it's non-obvious that they need to be imported with `use` or
referenced with their FQCN, because applying a non-existent attribute is not an
error.
Make the examples copy-and-paste safe by adding the leading backslash, as
already done for `#[\SensitiveParameterValue]`.
2023-01-04 16:20:00 +00:00
Máté Kocsis
ed312486ff
Update ArrayAccess role attributes ( #2066 )
2022-12-11 23:23:10 +01:00
Jeremy Mikola
362f36f682
Remove backslash prefix for some ReturnTypeWillChange attributes ( #1756 )
...
These backslashes were previously added in 214335df7e and cfaa7659da .
Backslashes before ReturnTypeWillChange in deprecation messages were left as-is, since those are quoting actual output from PHP. See 081cf71ecb for those messages.
2022-08-18 13:46:21 -04:00
Christoph M. Becker
cfaa7659da
Fix ArrayAccess::offsetExists() example for PHP 8.1+
...
The newly introduced tentative return types require us to specify
return types for the method implementation. Since `mixed` is only
available as of PHP 8.0.0, we use the `ReturnTypeWillChange` attribute
to suppress the deprecation for now.
This includes user note 127108 (well, at least the relevant parts of
it).
2022-05-17 13:46:08 +02:00
othercorey
9e9e3c019b
Remove abstract modifier from ArrayAccess methods ( #838 )
2021-08-05 10:22:42 +02:00
Yoshinari Takaoka
5b4d6ddc1a
Fix some issues in predefined directory
...
Part of #658
2021-06-13 12:58:10 +09:00
Christoph Michael Becker
86e6094e86
Use canonical type names
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
George Peter Banyard
cdaea04215
Remove mention of PHP 5 in Language Reference section
...
This does not cover the OOP nor Error sections, but everything else should be covered
Closes GH-156
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351112 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-31 19:13:58 +00:00
Jakub Vrana
331fbfeac5
Use bool instead of boolean in return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343889 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:50:10 +00:00
Peter Cowburn
3e13c61bff
Better refpurposes for ArrayAccess offsetset/offsetunset
...
--
Patch from (sorry I lost your name!) via online editor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336766 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:10:24 +00:00
Pieter Hordijk
b974378c8f
Fixed small typo a -> an
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335590 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-03 17:00:22 +00:00
Justin Martin
441466d89c
Replaced & with &, due to bug in rev #305489 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305566 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-19 20:14:00 +00:00
Gustavo André dos Santos Lopes
7eed1ac9dd
- Fixed small mistake in rev #305489 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305491 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-18 10:47:45 +00:00
Gustavo André dos Santos Lopes
1c88e130dd
- Revision #305471 reverted and added a more detailed explanation of the
...
topic of indirect modification of overloaded array dimensions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305489 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-18 10:34:33 +00:00
Jakub Vrana
64b7b24722
Notice with increment/decrement
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305471 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-17 20:46:44 +00:00
Richard Quadling
11fa904483
Fix build. Sorry!
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301181 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-12 10:41:23 +00:00
Richard Quadling
75ce87e32c
Show the use $obj[] within an ArrayAccess interface.
...
Fix bug#52308
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301180 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-12 10:35:59 +00:00
Hannes Magnusson
e3886ea038
Lets make that arrayaccess
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291256 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-24 10:56:54 +00:00
Hannes Magnusson
64d3d54ddd
Fix bug#50211 (ArrayAccess::offsetSet) $object[] works too)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291226 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-23 20:57:46 +00:00
Peter Cowburn
723d92067d
Corrected parameter type hints for ArrayAccess methods. Closes bug #49807
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289713 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-17 14:15:48 +00:00
Torben Wilson
af4410a7e1
Normalized the sgml-default-dtd-file local-variable line for those
...
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
04077dd209
fixed properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283798 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:17:58 +00:00
Richard Quadling
0f4fa3b6a7
Typos. #47342
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275411 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-09 12:36:00 +00:00
Hannes Magnusson
4d149ee2d5
Initial commit
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270045 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-28 21:01:43 +00:00