Skip to content

Commit

Permalink
Updating the README.md for improve the explanation about other features!
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodanilojr committed Feb 23, 2020
1 parent 7a05f5d commit a052c49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Build](https://img.shields.io/scrutinizer/build/g/sergiodanilojr/zipper.svg?style=flat-square)](https://scrutinizer-ci.com/g/sergiodanilojr/zipper)
[![Quality Score](https://img.shields.io/scrutinizer/g/sergiodanilojr/zipper.svg?style=flat-square)](https://scrutinizer-ci.com/g/sergiodanilojr/zipper)
[![Total Downloads](https://img.shields.io/packagist/dt/sergiodanilojr/zipper.svg?style=flat-square)](https://packagist.org/packages/csergiodanilojr/zipper)
[![Total Downloads](https://img.shields.io/packagist/dt/sergiodanilojr/zipper.svg?style=flat-square)](https://packagist.org/packages/sergiodanilojr/zipper)

###### Zipper is a facilitator for creating Zip Files in an uncomplicated way, with features of Download, Insert Files, Extraction and Creation of Zip with multiple in one!

Expand Down
2 changes: 1 addition & 1 deletion src/Zipper.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function zipFile(string $file): ?string
*/
public function zipFiles(array $files, string $nameFile, string $path = null): ?string
{
$path = (!is_null($this->path) ? $this->path : $path);
$path = ($this->path ?? $path);
if (!$path) {
$this->message = "Forneça um Caminho para Salvar o Arquivo!";
return null;
Expand Down

0 comments on commit a052c49

Please sign in to comment.