Skip to content

Commit 0737fbe

Browse files
committed
PHPC-2140: Make tentative return types definitive
1 parent ea94e98 commit 0737fbe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+73
-138
lines changed

src/BSON/BinaryInterface.stub.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99

1010
interface BinaryInterface
1111
{
12-
/** @tentative-return-type */
1312
public function getData(): string;
1413

15-
/** @tentative-return-type */
1614
public function getType(): int;
1715

1816
public function __toString(): string;

src/BSON/BinaryInterface_arginfo.h

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/BSON/Decimal128Interface.stub.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99

1010
interface Decimal128Interface
1111
{
12-
/** @tentative-return-type */
1312
public function __toString(): string;
1413
}

src/BSON/Decimal128Interface_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/BSON/JavascriptInterface.stub.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@
99

1010
interface JavascriptInterface
1111
{
12-
/** @tentative-return-type */
1312
public function getCode(): string;
1413

15-
/** @tentative-return-type */
1614
public function getScope(): ?object;
1715

18-
/** @tentative-return-type */
1916
public function __toString(): string;
2017
}

src/BSON/JavascriptInterface_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/BSON/ObjectIdInterface.stub.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99

1010
interface ObjectIdInterface
1111
{
12-
/** @tentative-return-type */
1312
public function getTimestamp(): int;
1413

15-
/** @tentative-return-type */
1614
public function __toString(): string;
1715
}

src/BSON/ObjectIdInterface_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/BSON/Persistable.stub.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99

1010
interface Persistable extends Serializable, Unserializable
1111
{
12-
/** @tentative-return-type */
1312
public function bsonSerialize(): array|\stdClass|Document;
1413
}

src/BSON/Persistable_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)