Title: Type error on `CombinedStatus->statuses()` · Issue #74 · php-api-clients/github · GitHub
Open Graph Title: Type error on `CombinedStatus->statuses()` · Issue #74 · php-api-clients/github
X Title: Type error on `CombinedStatus->statuses()` · Issue #74 · php-api-clients/github
Description: calling CombinedStatus->statuses() raises the following error: Fatal error: Uncaught TypeError: Return value of ApiClients\Client\Github\Resource\Repository\Commit\CombinedStatus::statuses() must be an instance of ApiClients\Client\Githu...
Open Graph Description: calling CombinedStatus->statuses() raises the following error: Fatal error: Uncaught TypeError: Return value of ApiClients\Client\Github\Resource\Repository\Commit\CombinedStatus::statuses() must b...
X Description: calling CombinedStatus->statuses() raises the following error: Fatal error: Uncaught TypeError: Return value of ApiClients\Client\Github\Resource\Repository\Commit\CombinedStatus::statuses() mus...
Opengraph URL: https://github.com/php-api-clients/github/issues/74
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Type error on `CombinedStatus->statuses()`","articleBody":"calling `CombinedStatus->statuses()` raises the following error:\r\n\r\n```\r\nFatal error: Uncaught TypeError: Return value of ApiClients\\Client\\Github\\Resource\\Repository\\Commit\\CombinedStatus::statuses() must be an instance of ApiClients\\Client\\Github\\Resource\\Repository\\Commit\\Repository\\Commit\\Status, array returned in /workdir/vendor/api-clients/github/src/Resource/Repository/Commit/CombinedStatus.php:88\r\n```\r\n\r\nShouldn't the return type be `array` instead of `Status`?","author":{"url":"https://github.com/fcurella","@type":"Person","name":"fcurella"},"datePublished":"2020-09-21T15:59:50Z","url":"https://github.com/php-api-clients/github/issues/74"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:268f71d4-3d73-a398-2e12-ee29c4afd168 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B996:78AB8:34D7B6:4A157C:6B006D1A |
| html-safe-nonce | 5c19094030c84626c3ac43d399e9203b2a6e485ac5219e8298c0e5596cc48937 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTk2Ojc4QUI4OjM0RDdCNjo0QTE1N0M6NkIwMDZEMUEiLCJ2aXNpdG9yX2lkIjoiMTI3MjcwNjc3NDE5MjkwOTU5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3950ce320c82acef56a592d2afb70d6a270ae9eafb1ff327839dc02c3c094909 |
| hovercard-subject-tag | issue:705727130 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/php-api-clients/github/74/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e70764f124547b9b0081aa75c52d851349acce341b649028903991fd9eafa1f9/php-api-clients/github/issues/74 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e70764f124547b9b0081aa75c52d851349acce341b649028903991fd9eafa1f9/php-api-clients/github/issues/74 |
| og:image:alt | calling CombinedStatus->statuses() raises the following error: Fatal error: Uncaught TypeError: Return value of ApiClients\Client\Github\Resource\Repository\Commit\CombinedStatus::statuses() must b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fcurella |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-preview |
| go-import | github.com/php-api-clients/github git https://github.com/php-api-clients/github.git |
| octolytics-dimension-user_id | 20679221 |
| octolytics-dimension-user_login | php-api-clients |
| octolytics-dimension-repository_id | 71829394 |
| octolytics-dimension-repository_nwo | php-api-clients/github |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 71829394 |
| octolytics-dimension-repository_network_root_nwo | php-api-clients/github |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width