@@ -5,15 +5,24 @@ class DateTime implements \DateTimeInterface
55 public function __construct (string $ datetime = "now " , ?DateTimeZone $ timezone = null )
66 {
77 }
8- /** @tentative-return-type */
8+ /**
9+ * @tentative-return-type
10+ * @return void
11+ */
912 public function __wakeup ()
1013 {
1114 }
12- /** @tentative-return-type */
15+ /**
16+ * @tentative-return-type
17+ * @return DateTime
18+ */
1319 public static function __set_state (array $ array )
1420 {
1521 }
16- /** @tentative-return-type */
22+ /**
23+ * @tentative-return-type
24+ * @return DateTime
25+ */
1726 public static function createFromImmutable (DateTimeImmutable $ object )
1827 {
1928 }
@@ -23,6 +32,7 @@ public static function createFromInterface(DateTimeInterface $object) : DateTime
2332 /**
2433 * @tentative-return-type
2534 * @alias date_create_from_format
35+ * @return (DateTime | false)
2636 */
2737 public static function createFromFormat (string $ format , string $ datetime , ?DateTimeZone $ timezone = null )
2838 {
@@ -38,90 +48,103 @@ public static function getLastErrors()
3848 /**
3949 * @tentative-return-type
4050 * @alias date_format
51+ * @return string
4152 */
4253 public function format (string $ format )
4354 {
4455 }
4556 /**
4657 * @tentative-return-type
4758 * @alias date_modify
59+ * @return (DateTime | false)
4860 */
4961 public function modify (string $ modifier )
5062 {
5163 }
5264 /**
5365 * @tentative-return-type
5466 * @alias date_add
67+ * @return DateTime
5568 */
5669 public function add (DateInterval $ interval )
5770 {
5871 }
5972 /**
6073 * @tentative-return-type
6174 * @alias date_sub
75+ * @return DateTime
6276 */
6377 public function sub (DateInterval $ interval )
6478 {
6579 }
6680 /**
6781 * @tentative-return-type
6882 * @alias date_timezone_get
83+ * @return (DateTimeZone | false)
6984 */
7085 public function getTimezone ()
7186 {
7287 }
7388 /**
7489 * @tentative-return-type
7590 * @alias date_timezone_set
91+ * @return DateTime
7692 */
7793 public function setTimezone (DateTimeZone $ timezone )
7894 {
7995 }
8096 /**
8197 * @tentative-return-type
8298 * @alias date_offset_get
99+ * @return int
83100 */
84101 public function getOffset ()
85102 {
86103 }
87104 /**
88105 * @tentative-return-type
89106 * @alias date_time_set
107+ * @return DateTime
90108 */
91109 public function setTime (int $ hour , int $ minute , int $ second = 0 , int $ microsecond = 0 )
92110 {
93111 }
94112 /**
95113 * @tentative-return-type
96114 * @alias date_date_set
115+ * @return DateTime
97116 */
98117 public function setDate (int $ year , int $ month , int $ day )
99118 {
100119 }
101120 /**
102121 * @tentative-return-type
103122 * @alias date_isodate_set
123+ * @return DateTime
104124 */
105125 public function setISODate (int $ year , int $ week , int $ dayOfWeek = 1 )
106126 {
107127 }
108128 /**
109129 * @tentative-return-type
110130 * @alias date_timestamp_set
131+ * @return DateTime
111132 */
112133 public function setTimestamp (int $ timestamp )
113134 {
114135 }
115136 /**
116137 * @tentative-return-type
117138 * @alias date_timestamp_get
139+ * @return int
118140 */
119141 public function getTimestamp ()
120142 {
121143 }
122144 /**
123145 * @tentative-return-type
124146 * @alias date_diff
147+ * @return DateInterval
125148 */
126149 public function diff (DateTimeInterface $ targetObject , bool $ absolute = false )
127150 {
0 commit comments