🚿 some docblocks/fixes

This commit is contained in:
codemasher
2020-02-19 15:53:29 +01:00
parent 622f302a44
commit 66466432db
11 changed files with 42 additions and 40 deletions
+5 -3
View File
@@ -92,7 +92,10 @@ abstract class QROutputAbstract implements QROutputInterface{
abstract protected function setModuleValues():void;
/**
* saves the qr data to a file
*
* @see file_put_contents()
* @see \chillerlan\QRCode\QROptions::cachefile
*
* @param string $data
* @param string $file
@@ -110,11 +113,10 @@ abstract class QROutputAbstract implements QROutputInterface{
}
/**
* @param string|null $file
*
* @return string|mixed
* @inheritDoc
*/
public function dump(string $file = null){
// call the built-in output method
$data = call_user_func([$this, $this->outputMode ?? $this->defaultMode]);
$file = $file ?? $this->options->cachefile;