psr7 icon indicating copy to clipboard operation
psr7 copied to clipboard

Replace Header::normalize() by Header::splitList() in README

Open TimWolla opened this issue 2 years ago • 4 comments

splitList() is a replacement for normalize(). It was forgotten to adjust the README.md in guzzle/psr7#477.

TimWolla avatar Jun 20 '22 21:06 TimWolla

Can we document both please? Maybe indicate which of them is preferred?

GrahamCampbell avatar Jun 20 '22 22:06 GrahamCampbell

Can we document both please?

We could, but normalize() should not really appear in new code and for old code it still has PHPDoc for your IDE.

I can re-add normalize() with a deprecation note, if you insist.

TimWolla avatar Jun 20 '22 22:06 TimWolla

Yeh, we should document the deprecated stuff too, but just make sure it's noted as deprecated.

GrahamCampbell avatar Aug 28 '22 12:08 GrahamCampbell

Yeh, we should document the deprecated stuff too, but just make sure it's noted as deprecated.

@GrahamCampbell Apologies for the delay, now done!

TimWolla avatar Sep 05 '22 09:09 TimWolla