Skip to content

Commit

Permalink
Deprecate addHeader method
Browse files Browse the repository at this point in the history
Signed-off-by: jld3103 <[email protected]>
  • Loading branch information
provokateurin committed Jun 23, 2023
1 parent c763163 commit 1056cc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/public/AppFramework/Http/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ public function getCookies() {
* @param string $value The value, null will delete it
* @return $this
* @since 6.0.0 - return value was added in 7.0.0
* @depreacted Use setHeaders instead
*/
public function addHeader($name, $value) {
$name = trim($name); // always remove leading and trailing whitespace
Expand Down

0 comments on commit 1056cc2

Please sign in to comment.