Skip to content
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

cast returned filesize to int as hinted in admin form fields renderer #14

Closed
wants to merge 0 commits into from

Conversation

holystix
Copy link
Contributor

Without the (int) cast the following error is triggered, when attempting to open a controller where ArboryImage field is used:
Type error: Return value of Arbory\Base\Admin\Form\Fields\Renderer\FileSize::getSizeInBytes() must be of the type integer, string returned

@coveralls
Copy link

coveralls commented Sep 26, 2017

Coverage Status

Coverage remained the same at 2.219% when pulling ad10c00 on holystix:development into 671998f on arbory:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 2.216% when pulling 244d35c on holystix:development into 5180709 on arbory:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 2.216% when pulling 244d35c on holystix:development into 5180709 on arbory:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.003%) to 2.214% when pulling 099e109 on holystix:development into 35c70b3 on arbory:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.003%) to 2.214% when pulling 099e109 on holystix:development into 35c70b3 on arbory:master.

@holystix holystix closed this Feb 22, 2018
Gberzi01 pushed a commit to Gberzi01/arbory that referenced this pull request Jan 20, 2020
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.

None yet

2 participants