Skip to content

Commit

Permalink
fixes #62; wrong typehint, respectively possible wrong result
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Schwarz authored and usox committed Apr 5, 2019
1 parent f765e4d commit f45931a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Php/Attribute/METAL/FillSlot.php
Expand Up @@ -179,6 +179,6 @@ private function estimateNumberOfBytesOutput(Element $element, bool $is_nested_i
$estimated_bytes *= $is_nested_in_repeat ? 5 : 10;
}

return $estimated_bytes;
return (int) $estimated_bytes;
}
}

0 comments on commit f45931a

Please sign in to comment.