Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FileResponse: strict type fix#191

Merged
dg merged 1 commit into
nette:masterfrom
vlastavesely:typehint
Feb 5, 2018
Merged

FileResponse: strict type fix#191
dg merged 1 commit into
nette:masterfrom
vlastavesely:typehint

Conversation

@vlastavesely

Copy link
Copy Markdown
Contributor

Since 4e6 is float and function fread() exects integer value for
length, it caused a TypeError on bigger files.

  • bug fix? yes
  • BC break? no

Since `4e6` is float and function `fread()` exects integer value for
length, it caused a `TypeError` on bigger files.
@dg

dg commented Feb 5, 2018

Copy link
Copy Markdown
Member

Thanks!

@dg dg merged commit 52145d2 into nette:master Feb 5, 2018
dg pushed a commit that referenced this pull request Feb 5, 2018
Since `4e6` is float and function `fread()` exects integer value for
length, it caused a `TypeError` on bigger files.
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