File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,8 @@ public function isSecure() : bool
287287 }
288288
289289 /**
290+ * @since 7
291+ *
290292 * @param bool $partitioned
291293 *
292294 * @see https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies
@@ -301,6 +303,8 @@ public function setPartitioned(bool $partitioned = true) : static
301303 }
302304
303305 /**
306+ * @since 7
307+ *
304308 * @return bool
305309 */
306310 #[Pure]
Original file line number Diff line number Diff line change @@ -233,6 +233,13 @@ trait HeaderTrait
233233 'sec-websocket-version ' => 'Sec-WebSocket-Version ' ,
234234 ];
235235
236+ /**
237+ * @since 7
238+ *
239+ * @param string $name
240+ *
241+ * @return bool
242+ */
236243 public static function hasName (string $ name ) : bool
237244 {
238245 return isset (static ::$ headers [$ name ]);
Original file line number Diff line number Diff line change @@ -115,6 +115,11 @@ public function setDownload(
115115 return $ this ;
116116 }
117117
118+ /**
119+ * @since 7
120+ *
121+ * @return string
122+ */
118123 private function makeContentType () : string
119124 {
120125 return $ this ->contentType
@@ -341,6 +346,11 @@ private function readFile() : void
341346 }
342347 }
343348
349+ /**
350+ * @since 7
351+ *
352+ * @return bool
353+ */
344354 private function isConnectionStatusNormal () : bool
345355 {
346356 return \connection_status () === \CONNECTION_NORMAL ;
You can’t perform that action at this time.
0 commit comments