-
Notifications
You must be signed in to change notification settings - Fork 208
PHPC-2140: Make tentative return types definitive #1658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0737fbe
4dca2c1
1fa09bd
ddf31af
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,5 @@ | |
|
||
interface Decimal128Interface | ||
{ | ||
/** @tentative-return-type */ | ||
public function __toString(): string; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,5 @@ | |
|
||
interface Unserializable | ||
{ | ||
/** @tentative-return-type */ | ||
public function bsonUnserialize(array $data): void; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,18 +9,17 @@ | |
|
||
interface CursorInterface extends \Iterator | ||
{ | ||
/** @tentative-return-type */ | ||
public function current(): array|object|null {} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do I assume correctly that only There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This methods are mentioned in the upgrade file:
|
||
|
||
public function getId(): CursorId|\MongoDB\BSON\Int64; | ||
|
||
/** @tentative-return-type */ | ||
public function getServer(): Server; | ||
|
||
/** @tentative-return-type */ | ||
public function isDead(): bool; | ||
|
||
/** @tentative-return-type */ | ||
public function key(): ?int; | ||
|
||
public function setTypeMap(array $typemap): void; | ||
|
||
/** @tentative-return-type */ | ||
public function toArray(): array; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.