Skip to content

Conversation

John5
Copy link
Contributor

@John5 John5 commented Jun 14, 2019

When using browse code 690 Twinfield will return an error when a sort fields are specified in the request. Without sort fields it works. The PHP Twinfield library currently requires sort fields. This change makes the sort fields optional.

Copy link
Contributor

@iranl iranl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a sensible addition

}

/**
* @param string $code
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@param string $code should be changed to @param string|null $code

}

/**
* @param int $number
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@param int $number should be changed to @param int|null $number

}

/**
* @param int $line
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@param int $line should be changed to @param int|null $line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants