/** * {@inheritdoc} */ public function close() { if ($this->stream !== NULL) { $this->hash = hash_final($this->md5); } parent::close(); }
/** * {@inheritdoc} */ public function close() { if ($this->buffer !== NULL) { fclose($this->buffer); $this->buffer = NULL; } parent::close(); }