Skip to content

Commit

Permalink
Made the const Private & version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulhas Vardhan Golchha committed Apr 17, 2020
1 parent 48ec597 commit d1af076
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to `golchha21/resmushit` will be documented in this file

## 1.0.4 - 2020-04-17

- Made the const Private
- Updated CHANGELOG
- Updated README
- Version bump composer.json

## 1.0.3 - 2020-04-17

- Updated CHANGELOG
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ reSmushit for Laravel
==========

[![Latest Version on Packagist](https://img.shields.io/packagist/v/golchha21/resmushit.svg?style=flat-square)](https://packagist.org/packages/golchha21/resmushit)
[![Build Status](https://img.shields.io/travis/golchha21/resmushit/master.svg?style=flat-square)](https://travis-ci.org/golchha21/resmushit)
[![Total Downloads](https://img.shields.io/packagist/dt/golchha21/resmushit.svg?style=flat-square)](https://packagist.org/packages/golchha21/resmushit)

A Laravel package for the popular image optimization web service [reSmush.it](http://resmush.it/)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "golchha21/resmushit",
"version": "1.0.3",
"version": "1.0.4",
"description": "A Laravel package for the popular image optimization web service reSmush.it",
"keywords": [
"golchha21",
Expand Down
9 changes: 4 additions & 5 deletions src/ReSmushIt.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

class ReSmushIt
{
const VERSION = '1.0.2';
const ENDPOINT = 'http://api.resmush.it/';
const TIMEOUT = 10;
const MAX_FILE_SIZE = 5242880;
private const VERSION = '1.0.4';
private const ENDPOINT = 'http://api.resmush.it/';
private const TIMEOUT = 10;
private const MAX_FILE_SIZE = 5242880;

/** @var file */
protected $file;
Expand Down Expand Up @@ -195,5 +195,4 @@ public function paths($paths)
'error_long' => 'No url of images provided.',
]);
}

}

0 comments on commit d1af076

Please sign in to comment.