Skip to content

Commit 5cd2e0c

Browse files
hotrushDEVizzent
authored andcommitted
Summary and description support for references
1 parent 2de3c45 commit 5cd2e0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/json/JsonReference.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public static function createFromUri(string $uri, ?JsonPointer $jsonPointer = nu
8080
*/
8181
public static function createFromReference(
8282
string $referenceURI,
83-
string $summary = null,
84-
string $description = null,
83+
?string $summary = null,
84+
?string $description = null
8585
): JsonReference
8686
{
8787
$jsonReference = new JsonReference();

0 commit comments

Comments
 (0)