Remove unreachable code
This commit is contained in:
parent
8dfaf18158
commit
93b0c348cf
1 changed files with 0 additions and 1 deletions
|
|
@ -238,7 +238,6 @@ abstract class AbstractProgressListener extends EventEmitter implements Listener
|
||||||
|
|
||||||
if (false === $format->has('size') || false === $format->has('duration')) {
|
if (false === $format->has('size') || false === $format->has('duration')) {
|
||||||
return;
|
return;
|
||||||
throw new RuntimeException(sprintf('Unable to probe format for %s', $this->pathfile));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->totalSize = $format->get('size') / 1024;
|
$this->totalSize = $format->get('size') / 1024;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue