Skip to content

Commit b6650fa

Browse files
benjaminpicknicolas-grekas
authored andcommitted
Fix php.net links
1 parent 5f76164 commit b6650fa

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Context/Encoder/JsonEncoderContextBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class JsonEncoderContextBuilder implements ContextBuilderInterface
2828
/**
2929
* Configures the json_encode flags bitmask.
3030
*
31-
* @see https://www.php.net/manual/en/json.constants.php
31+
* @see https://php.net/json.constants
3232
*
3333
* @param positive-int|null $options
3434
*/
@@ -40,7 +40,7 @@ public function withEncodeOptions(?int $options): static
4040
/**
4141
* Configures the json_decode flags bitmask.
4242
*
43-
* @see https://www.php.net/manual/en/json.constants.php
43+
* @see https://php.net/json.constants
4444
*
4545
* @param positive-int|null $options
4646
*/

Context/Encoder/XmlEncoderContextBuilder.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function withAsCollection(?bool $asCollection): static
3636
/**
3737
* Configures node types to ignore while decoding.
3838
*
39-
* @see https://www.php.net/manual/en/dom.constants.php
39+
* @see https://php.net/dom.constants
4040
*
4141
* @param list<int>|null $decoderIgnoredNodeTypes
4242
*/
@@ -48,7 +48,7 @@ public function withDecoderIgnoredNodeTypes(?array $decoderIgnoredNodeTypes): st
4848
/**
4949
* Configures node types to ignore while encoding.
5050
*
51-
* @see https://www.php.net/manual/en/dom.constants.php
51+
* @see https://php.net/dom.constants
5252
*
5353
* @param list<int>|null $encoderIgnoredNodeTypes
5454
*/
@@ -60,7 +60,7 @@ public function withEncoderIgnoredNodeTypes(?array $encoderIgnoredNodeTypes): st
6060
/**
6161
* Configures the DOMDocument encoding.
6262
*
63-
* @see https://www.php.net/manual/en/class.domdocument.php#domdocument.props.encoding
63+
* @see https://php.net/class.domdocument#domdocument.props.encoding
6464
*/
6565
public function withEncoding(?string $encoding): static
6666
{
@@ -70,7 +70,7 @@ public function withEncoding(?string $encoding): static
7070
/**
7171
* Configures whether to encode with indentation and extra space.
7272
*
73-
* @see https://php.net/manual/en/class.domdocument.php#domdocument.props.formatoutput
73+
* @see https://php.net/class.domdocument#domdocument.props.formatoutput
7474
*/
7575
public function withFormatOutput(?bool $formatOutput): static
7676
{
@@ -80,7 +80,7 @@ public function withFormatOutput(?bool $formatOutput): static
8080
/**
8181
* Configures the DOMDocument::loadXml options bitmask.
8282
*
83-
* @see https://www.php.net/manual/en/libxml.constants.php
83+
* @see https://php.net/libxml.constants
8484
*
8585
* @param positive-int|null $loadOptions
8686
*/
@@ -92,7 +92,7 @@ public function withLoadOptions(?int $loadOptions): static
9292
/**
9393
* Configures the DOMDocument::saveXml options bitmask.
9494
*
95-
* @see https://www.php.net/manual/en/libxml.constants.php
95+
* @see https://php.net/libxml.constants
9696
*
9797
* @param positive-int|null $saveOptions
9898
*/
@@ -120,7 +120,7 @@ public function withRootNodeName(?string $rootNodeName): static
120120
/**
121121
* Configures whether the document will be standalone.
122122
*
123-
* @see https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlstandalone
123+
* @see https://php.net/class.domdocument#domdocument.props.xmlstandalone
124124
*/
125125
public function withStandalone(?bool $standalone): static
126126
{
@@ -138,7 +138,7 @@ public function withTypeCastAttributes(?bool $typeCastAttributes): static
138138
/**
139139
* Configures the version number of the document.
140140
*
141-
* @see https://php.net/manual/en/class.domdocument.php#domdocument.props.xmlversion
141+
* @see https://php.net/class.domdocument#domdocument.props.xmlversion
142142
*/
143143
public function withVersion(?string $version): static
144144
{

0 commit comments

Comments
 (0)