File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,11 @@ public function __destruct()
3030 $ this ->deferredAction ();
3131 }
3232 }
33-
33+
34+ /**
35+ * Cancel this deferred call.
36+ * @return void
37+ */
3438 public final function cancelDeferral (): void
3539 {
3640 $ this ->cancelled = true ;
Original file line number Diff line number Diff line change @@ -520,13 +520,20 @@ public function getResponseAsXml(): ?SimpleXMLElement
520520
521521 /**
522522 * Get the \Feast\Response object for a finished request.
523+ *
523524 * @return Response|null
524525 */
525526 public function getResponse (): ?Response
526527 {
527528 return $ this ->response ;
528529 }
529530
531+ /**
532+ * Get a response header by name.
533+ *
534+ * @param string $name
535+ * @return string|null
536+ */
530537 public function getResponseHeader (string $ name ): ?string
531538 {
532539 if ($ this ->response === null ) {
@@ -535,6 +542,10 @@ public function getResponseHeader(string $name): ?string
535542 return $ this ->response ->getHeader ($ name );
536543 }
537544
545+ /**
546+ * Get response content type.
547+ * @return string|null
548+ */
538549 public function getResponseContentType (): ?string
539550 {
540551 if ($ this ->response === null ) {
You can’t perform that action at this time.
0 commit comments