Skip to content

Commit

Permalink
Merge pull request zetacomponents#9 from madbob/patch-1
Browse files Browse the repository at this point in the history
Removed unused line, which causes problems in PHP 7.2+.
  • Loading branch information
derickr committed Apr 16, 2018
2 parents 136e9a2 + 9e1fa02 commit 4664b0e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/file/block_file.php
Expand Up @@ -363,7 +363,6 @@ public function append( $data )
// Switch write mode, if needed.
$this->switchWriteMode();

$dataLength = sizeof( $data );
$length = $this->writeBytes( $data );

if ( ( $mod = ( $length % $this->blockSize ) ) > 0 )
Expand Down

0 comments on commit 4664b0e

Please sign in to comment.