Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
rymanalu committed Jan 24, 2017
1 parent 9261155 commit 86697cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://travis-ci.org/rymanalu/laravel-simple-uploader.svg?branch=master)](https://travis-ci.org/rymanalu/laravel-simple-uploader)

Uploading files and store its in Filesystem / Cloud storage in Laravel 5 is not easy and simple for some developers. This package provides a simple way to do that, and comes with fluent interface that might you like.
Uploading files and store its in Filesystem / Cloud storage in Laravel 5 is not easy and simple for some developers. This package provides a simple way to do that, and comes with fluent interface that you might like.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion src/Uploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ protected function runUpload($file)
$this->provider->setFile($file);

if (! $this->provider->isValid()) {
throw new RuntimeException("Given file [{$file}] is not valid.");
throw new RuntimeException("Given file [{$file}] is invalid.");
}

$filename = $this->getFullFileName($this->provider);
Expand Down
2 changes: 1 addition & 1 deletion src/UploaderManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function getDefaultProvider()
protected function createProviderInstance($provider)
{
if (! isset($this->providers[$provider])) {
throw new InvalidArgumentException("File provider [{$provider}] is not defined.");
throw new InvalidArgumentException("File provider [{$provider}] is invalid.");
}

if (isset($this->resolvedProviders[$provider])) {
Expand Down

0 comments on commit 86697cc

Please sign in to comment.