Skip to content

ValueRange:getValues() returns null for empty sheet.  #3679

@scyzoryck

Description

@scyzoryck

Environment details

  • OS: Linux
  • PHP version: 8.2
  • Package name and version:

Steps to reproduce

  1. Create an empty spreadsheet
  2. Try to fetch data from it.
  3. In result ValueRange:getValues() will return null what conflicts with the return type hint from the method.

Can we update the return type to null or array, please? :)

Code example

Related to: flow-php/flow#641

Metadata

Metadata

Labels

api: sheetsIssues related to the Sheets API API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions