Skip to content

Commit 16f3706

Browse files
author
Simonas Šerlinskas
committed
added object nested class deprecation
1 parent 48acbd2 commit 16f3706

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Annotation/Nested.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
*
1717
* @Annotation
1818
* @Target("CLASS")
19+
*
20+
* @deprecated Object is reserved word in PHP 7.2 This class due Object class will be changed to NestedType as well.
1921
*/
2022
final class Nested
2123
{

Annotation/Object.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
*
2020
* @Annotation
2121
* @Target("CLASS")
22+
*
23+
* @deprecated Object is reserved word in PHP 7.2, it will be changed to ObjectType class
2224
*/
2325
final class Object
2426
{

0 commit comments

Comments
 (0)